The Conversion class provides a fluent API for converting values between different units.
It allows customization through configuration options passed to the constructor.
The Conversion class provides a fluent API for converting values between different units.
It allows customization through configuration options passed to the constructor.
Number of decimal places to round the conversion result to.
import {
classConversion
Represents a utility class for unit conversions.
The Conversion class provides a fluent API for converting values between different units.
It allows customization through configuration options passed to the constructor.
The Conversion class provides a fluent API for converting values between different units.
It allows customization through configuration options passed to the constructor.
If true, the conversion result will be a floating-point number.
import {
classConversion
Represents a utility class for unit conversions.
The Conversion class provides a fluent API for converting values between different units.
It allows customization through configuration options passed to the constructor.
The Conversion class provides a fluent API for converting values between different units.
It allows customization through configuration options passed to the constructor.
If true, the conversion result will include the unit as a string.
import {
classConversion
Represents a utility class for unit conversions.
The Conversion class provides a fluent API for converting values between different units.
It allows customization through configuration options passed to the constructor.
The Conversion class provides a fluent API for converting values between different units.
It allows customization through configuration options passed to the constructor.