Difference between revisions of "Dtostring"

From Mesham
Jump to navigationJump to search
(Created page with '== Overview == The dtostring(d, a) function will convert the variable or value ''d'' into a string using the formatting supplied in ''a''. * '''Pass:''' A Double and [[Stri…')
(No difference)

Revision as of 13:26, 13 January 2013

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>
var a:=23.4352;
var c:=dtostring(a, "%.2f");