Sets the maximum number of decimal places for non-integer types accepted for the input.

public int Decimals { get; set; }
Type:
int
In this article