Validates and converts a number to an integer (decimal number).
Reference: ST_DecimalNumber in OOXML specification
The number to validate and convert
The floored integer value
Error if the value is NaN
const num = decimalNumber(10.7); // Returns 10const negative = decimalNumber(-5.3); // Returns -5 Copy
const num = decimalNumber(10.7); // Returns 10const negative = decimalNumber(-5.3); // Returns -5
Validates and converts a number to an integer (decimal number).
Reference: ST_DecimalNumber in OOXML specification