Difference between revisions of "Dtostring"
From Mesham
Jump to navigationJump to searchm |
|||
Line 9: | Line 9: | ||
#include <string> | #include <string> | ||
− | var a:=23.4352; | + | |
− | + | function void main() { | |
+ | var a:=23.4352; | ||
+ | var c:=dtostring(a, "%.2f"); | ||
+ | }; | ||
''Since: Version 1.0'' | ''Since: Version 1.0'' |