Repetier-Host Plugin  2.0.0
RepetierHostExtender.basic.NumberConversion Class Reference

Static Public Member Functions

static bool ContainsReal (string text)
 
static bool ContainsInteger (string text)
 
static double ToDouble (string text)
 
static float ToFloat (string text)
 
static int ToInteger (string text)
 
static double ToDoubleClamped (string text, double min, double max)
 
static float ToFloatClamped (string text, float min, float max)
 
static int ToIntegerClamped (string text, int min, int max)
 
static string ToString (double v)
 Converts double to string with max. 6 fractional digits. Trailing zeors get removed. More...
 
static string ToString (float v)
 
static string ToString (int v)
 
static string ToString (bool val, BooleanFormat f)
 
static bool ToBool (string val)
 

Member Function Documentation

◆ ToString()

static string RepetierHostExtender.basic.NumberConversion.ToString ( double  v)
static

Converts double to string with max. 6 fractional digits. Trailing zeors get removed.

Parameters
vValue to convert
Returns
Converted value

The documentation for this class was generated from the following file:
About Us | Privacy Policy