Hi,
I have made a simple test example as the FloatToString function does not appear to work. This is in V11 but could be other versions?
It has an incrementing value but only shows the integer portion.
Regards,
Bob
FloatToString not working
-
RGV250
- Posts: 398
- http://meble-kuchenne.info.pl
- Joined: Sat Mar 19, 2022 4:53 pm
- Has thanked: 41 times
- Been thanked: 40 times
-
chipfryer27
- Valued Contributor
- Posts: 1877
- Joined: Thu Dec 03, 2020 10:57 am
- Has thanked: 409 times
- Been thanked: 633 times
Re: FloatToString not working
Hi Bob
You haven't specified any precision so no decimal places are included.
FloatToString(x,3) would give x to three decimal places.
Regards
You haven't specified any precision so no decimal places are included.
FloatToString(x,3) would give x to three decimal places.
Regards
Re: FloatToString not working
Hi,
Thanks for that, that will teach me to assume. On another compiler I use if you do not specify it shows the whole number and if a value is specified it limits the decimal places.
Bob
Thanks for that, that will teach me to assume. On another compiler I use if you do not specify it shows the whole number and if a value is specified it limits the decimal places.
Bob