11
Flash Screens / Re: decimal precision
« on: October 21, 2011, 05:30:18 PM »
Hi Sorry for the delay in responce,
These are the formating parameters (for example do "+%.3f" and it would come out 0.000):
Days:Hours:Minutes:Seconds
(f)loating point number, (4) decimal points, (+) or -
integer, no decimals
hex number
Format to send the above:
Example:
These are the formating parameters (for example do "+%.3f" and it would come out 0.000):
Days:Hours:Minutes:Seconds
Code: [Select]
"%D:%H:%M:%S"
(f)loating point number, (4) decimal points, (+) or -
Code: [Select]
"+%.4f"
integer, no decimals
Code: [Select]
"%i"
hex number
Code: [Select]
"%x"
Format to send the above:
Code: [Select]
fscommand( TYPE fmt DRO Number , ABOVE FORMAT )
Example:
Code: [Select]
fscommand("DROFmt1819", '%.0f');