EJSC.Formatter.format

See Also

Top  Previous  Next

 

Definition

 

string format( float value, integer precision )

 

Description

 

Format is called when a value needs to be formatted for display in the axis, hint, cursor position, etc.

 

The behavior of the format method is to round a numeric value to the precision specified. Descendants do not need to implement the precision parameter.