Hi,
Declare your float like this:
Code:
export float fVal(2);
The full syntax available is:
Code:
float name([dec-places[,point-char[,thousands-sep]])
So, the first option is a number for decimal places, the second is the character to use for the decimal point (important for Europeans), and the third is the character to use for thousands separators.
Full example:
Code:
export float fVal(3,'.',',');
would provide exported values like:
Code:
13,456.780
0.123
12.020
1.000
Don't spend very long trying to get this obscure stuff working.....since there isn't yet a manual for the Computation Module, please feel free to just post questions.
Bookmarks