Function validateNonNegativeDecimalPrecision

  • Validate that the input number is non negative, and either an integer or an increment of 0.5. No other decimal increments are supported.

    Returns

    True if the input is valid, false otherwise.

    Parameters

    • input: number

      The number to validate.

    Returns boolean

Generated using TypeDoc