Validates and converts a number to a positive integer (unsigned decimal number).
Reference: ST_UnsignedDecimalNumber in OOXML specification
The number to validate and convert
The floored positive integer value
Error if the value is NaN or negative
const num = unsignedDecimalNumber(10.7); // Returns 10const invalid = unsignedDecimalNumber(-5); // Throws Error Copy
const num = unsignedDecimalNumber(10.7); // Returns 10const invalid = unsignedDecimalNumber(-5); // Throws Error
Validates and converts a number to a positive integer (unsigned decimal number).
Reference: ST_UnsignedDecimalNumber in OOXML specification