>store 19.99 to my_val
>
>my_val_str = str (my_val)
>
>? my_val
>
>20
>
>How can I solve it ?
>
>( no decimal are shown)
>
>Thanks
>
>Moises
The default for the second parameter of the str() function is zero (zero decimals).
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)