Difference between pages "Download rtl 0.2" and "Dtostring"

From Mesham
(Difference between pages)
Jump to navigationJump to search
(Download)
 
m (3 revisions imported)
 
Line 1: Line 1:
== Runtime Library Version 0.2 ==
+
== Overview ==
  
Version 0.2 is currently the most up-to-date version of the Mesham RTL and is required by Mesham 0.5. This version of the library contains many advantages and improvements over the previous version and as such it is suggested you use this. The version on this page is backwards compatable to version 0.41(b). This version does not explicitly support the Windows OS, although it will be possible for an experienced programmer to install it on that system.
+
The dtostring(d, a) function will convert the variable or value ''d'' into a string using the formatting supplied in ''a''.
  
== Download ==
+
* '''Pass:''' A [[Double]] and [[String]]
 +
* '''Returns:''' A [[String]]
  
You can download the [http://www.mesham.com/downloads/libraries2.tar.gz Runtime Library 0.2 here] (28KB)
+
== Example ==
  
== Instructions ==
+
#include <string>
 +
 +
function void main() {
 +
    var a:=23.4352;
 +
    var c:=dtostring(a, "%.2f");
 +
};
  
Detailed installation, usage and options instructions are included with the library. Additionally these can be found on the [[Download 0.5|Download 0.5 Package]] page.
+
''Since: Version 1.0''
 +
 
 +
[[Category:Function Library]]
 +
[[Category:String Functions]]

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