associates
IS-IT--Management
Hi,
Sorry for asking this very trivial question.
How do i make sure that i can get two decimal points for a number?
For example: I have a number of 190.834756 and like to replace it by 190.99
I can get 190.99 in text string but if i convert it into number by using mynum = val(mystr) where mystr is type of string.
And when i print out mynum on the screen, it becomes 191. it rounds it up automatically.
Please help me on this.
Thank you
Sorry for asking this very trivial question.
How do i make sure that i can get two decimal points for a number?
For example: I have a number of 190.834756 and like to replace it by 190.99
I can get 190.99 in text string but if i convert it into number by using mynum = val(mystr) where mystr is type of string.
And when i print out mynum on the screen, it becomes 191. it rounds it up automatically.
Please help me on this.
Thank you