Dtostring

From Mesham
Revision as of 13:26, 13 January 2013 by Polas (talk | contribs) (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…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

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");