kaisellgren
07-02-2006, 02:07 PM
Hi,
My problem is how to cut...
Examples:
2 -> 2
3 -> 3
3.2 -> 3.2
4.15 -> 4.1
1.3453464565 -> 1.3
2.0 -> 2
6.0 -> 6
How to do it? I need to keep the first decimal number after the dot, but if the first decimal number is zero 0 like: 5.000345 then it should become 5, not 5.0!
Help?
My problem is how to cut...
Examples:
2 -> 2
3 -> 3
3.2 -> 3.2
4.15 -> 4.1
1.3453464565 -> 1.3
2.0 -> 2
6.0 -> 6
How to do it? I need to keep the first decimal number after the dot, but if the first decimal number is zero 0 like: 5.000345 then it should become 5, not 5.0!
Help?