Interface IXmlSerializerNumberOptions
interface IXmlSerializerNumberOptions {
allowScientific?: boolean;
eps: number;
fixedDecimals?: number;
maxDecimalsCap?: number;
perAttributeEps?: Record<string, number>;
snapNearZero?: boolean;
trimTrailingZeros?: boolean;
zeroThreshold?: number;
}
allowScientific?: boolean;
eps: number;
fixedDecimals?: number;
maxDecimalsCap?: number;
perAttributeEps?: Record<string, number>;
snapNearZero?: boolean;
trimTrailingZeros?: boolean;
zeroThreshold?: number;
}
Properties
Optionalallow Scientific
allowScientific?: boolean
eps
eps: number
Optionalfixed Decimals
fixedDecimals?: number
Optionalmax Decimals Cap
maxDecimalsCap?: number
Optionalper Attribute Eps
perAttributeEps?: Record<string, number>
Optionalsnap Near Zero
snapNearZero?: boolean
Optionaltrim Trailing Zeros
trimTrailingZeros?: boolean
Optionalzero Threshold
zeroThreshold?: number