Search
Preparing search index...
The search index is not available
DefinitelyTyped
Inherited
Private
Externals
Only exported
Valerie
NumericHelper
Interface NumericHelper
Index
Methods
addThousandsSeparator
format
init
isCurrencyMajor
isCurrencyMajorMinor
isFloat
isInteger
parse
unformat
Methods
public
addThousandsSeparator
(
numericString
:
string
)
:
string
Parameters
numericString:
string
Returns
string
public
format
(
value
:
number
, format
:
string
)
:
string
Parameters
value:
number
format:
string
Returns
string
public
init
(
decimalSeparator
:
string
, thousandsSeparator
:
string
, currencySign
:
string
, currencyMinorUnitPlaces
:
number
)
:
NumericHelper
Parameters
decimalSeparator:
string
thousandsSeparator:
string
currencySign:
string
currencyMinorUnitPlaces:
number
Returns
NumericHelper
public
isCurrencyMajor
(
numericString
:
string
)
:
boolean
Parameters
numericString:
string
Returns
boolean
public
isCurrencyMajorMinor
(
numericString
:
string
)
:
boolean
Parameters
numericString:
string
Returns
boolean
public
isFloat
(
numericString
:
string
)
:
boolean
Parameters
numericString:
string
Returns
boolean
public
isInteger
(
numericString
:
string
)
:
boolean
Parameters
numericString:
string
Returns
boolean
public
parse
(
numericString
:
string
)
:
number
Parameters
numericString:
string
Returns
number
public
unformat
(
numericString
:
string
)
:
string
Parameters
numericString:
string
Returns
string
Globals
Valerie
Valerie.Rules
knockout
IConverter
IRule
IValidationState
IncludePropertyCallback
ModelValidationState
ModelValidationStateOptions
NumericHelper
addThousandsSeparator
format
init
isCurrencyMajor
isCurrencyMajorMinor
isFloat
isInteger
parse
unformat
PropertyValidationState
Static
ValidatableModel
ValidationOptions
ValidationResult
ValidationState