Methods

__construct()

__construct() 

cDatatype()

cDatatype() 
Inherited
inherited_from \cDatatype::cDatatype()

cDatatypeNumber()

cDatatypeNumber() 
deprecated [2012-01-19] use __construct instead

Returns the effective value

get() : mixed

Returns

mixed

getDecimalPointCharacter()

getDecimalPointCharacter() 

getThousandSeparatorCharacter()

getThousandSeparatorCharacter() 

Parses the given value to transfer into the datatype's format

parse(mixed $value) 

Parameters

$value

mixed

Exceptions

\cException if the decimal separator character and the thousand separator character are equal

Renders the displayed value

render() 

Sets this datatype to a specific value

set(mixed $value) 

Parameters

$value

mixed

setDecimalPointCharacter()

setDecimalPointCharacter($sCharacter) 

Parameters

$sCharacter

setPrecision()

setPrecision($iPrecision) 

Parameters

$iPrecision

setThousandSeparatorCharacter()

setThousandSeparatorCharacter($sCharacter) 

Parameters

$sCharacter

 Properties

 

$_iPrecision 
 

$_mDisplayedValue 
Inherited
inherited_from \cDatatype::$$_mDisplayedValue
 

$_mValue 
Inherited
inherited_from \cDatatype::$$_mValue
 

$_sDecimalPointCharacter 
 

$_sThousandSeparatorCharacter