Difference between revisions of "Dtostring"

From Mesham
Jump to navigationJump to search
m (3 revisions imported)
 
(No difference)

Latest revision as of 15:44, 15 April 2019

Overview

The dtostring(d, a) function will convert the variable or value d into a string using the formatting supplied in a.

Example

#include <string>

function void main() {
   var a:=23.4352;
   var c:=dtostring(a, "%.2f");
};

Since: Version 1.0