SDK JS
    Preparing search index...
    • Format a volume in an explicit VolumeUnit (the Volume readout's dedicated unit picker), large values abbreviated with a k (thousands) prefix.

      Parameters

      • m3: number

        Volume in cubic metres.

      • unit: VolumeUnit

        The target unit; 't' converts volume→mass via densityTperM3.

      • densityTperM3: number = DEFAULT_BULK_DENSITY_T_PER_M3

        Bulk density for the 't' (tonnes) unit; ignored otherwise.

      Returns string