Wijmo UI for the Web
decimalPlaces Option

Default value: 2

Indicates the number of decimal places to display.

Syntax
Javascript (Usage) 
$(function () {
    
    // Get value
    var returnsValue; // Type:  number
    returnsValue = $(".selector").wijinputnumber("option", "decimalPlaces");
    
    // Set value
    var newValue; // Type:  number
    $(".selector").wijinputnumber("option", "decimalPlaces", newValue);
        
});
Javascript (Specification) 
var decimalPlaces : number;
Remarks
Possible values are integer from -2 to 8. They are: useDefault: -2, asIs: -1, zero: 0, one: 1, two: 2, three: 3, four: 4, five: 5, six: 6, seven: 7, eight: 8
Browser Compatibility
7
5
5

See Also

Reference

options type
wijinputnumber jQuery Widget

 

 


© 2013 All Rights Reserved.

Send comments on this topic.