float / floatstring example adc base decimal point / comma
Posted: Tue Nov 18, 2014 6:08 pm
hi guys
perhabs this is possible:
i know, under windows system is possible to set language and decimal char too,
example if i set a float decimal char for german "12,01"
this is a comma
and if i check values in extern program like a "isfloat" function example in delpi, visual basic etc then the float deciamal char is base in windows system,
if it set to comma like format "12,01" then the test of floatstring will be true
in fc example adc base, there are icon macro
example
GetString
GetVoltage
this will return "12.01"
a dot as decimal for float.
this is ok .. but in german settings the dot is not a valid float decimal char
it is a million or hundred tousand delimeter.. ..
1.000.000,00 = one million
1.000,00 = one tousend
is it possible to set in FC in a base float deciaml char?
is it possible to get the value as "12,01" without append function for change "." in "," ?
perhabs this in the macro possible to set in the properties, what char fc must take "." or ",".. or other.
this will be fine!..
hope the wish is declared understandly
thank you!
best wishes
rudi
btw
how are you guys`?
hope you are all fine
perhabs this is possible:
i know, under windows system is possible to set language and decimal char too,
example if i set a float decimal char for german "12,01"
this is a comma
and if i check values in extern program like a "isfloat" function example in delpi, visual basic etc then the float deciamal char is base in windows system,
if it set to comma like format "12,01" then the test of floatstring will be true
in fc example adc base, there are icon macro
example
GetString
GetVoltage
this will return "12.01"
a dot as decimal for float.
this is ok .. but in german settings the dot is not a valid float decimal char
1.000.000,00 = one million
1.000,00 = one tousend
is it possible to set in FC in a base float deciaml char?
is it possible to get the value as "12,01" without append function for change "." in "," ?
perhabs this in the macro possible to set in the properties, what char fc must take "." or ",".. or other.
this will be fine!..
hope the wish is declared understandly
thank you!
best wishes
rudi
btw
how are you guys`?
hope you are all fine