FML/Script/Builder.php
public static function getReal($value)
    {
        $value     = (float)$value;
        $stringVal = (string)$value;
        if (!fmod($value, 1)) {
            $stringVal .= ".";
        }
        return $stringVal;
    }
public static function getReal($value)
    {
        $value     = (float)$value;
        $stringVal = (string)$value;
        if (!fmod($value, 1)) {
            $stringVal .= ".";
        }
        return $stringVal;
    }
public static function getReal ( $ value ) { $ value = ( float ) $ value ; $ stringVal = ( string ) $ value ; if ( ! fmod ( $ value , 1 ) ) { $ stringVal .= "." ; } return $ stringVal ; }
Get the 'Real' string representation of the given value

@api
@param float $value Float value to convert to a ManiaScript 'Real'
@return string
Get the Real string representation of the given value