having problem with storing a double value...
Jesper de Jong
posted 3 years ago
A number is just a number. It doesn't have a format by itself. There's no difference between a double that holds the value '9999' and one thatholds the value '9999.0'. When you convert the number to a string, in order to display it, then you specify how it should be formatted, for example with a certain number of decimal digits.