Weight
- Last UpdatedJan 26, 2023
- 1 minute read
The environment variable to get imperial units is SB_WEIGHT_UNIT.
The format will be as follows 15LB or 35T i.e 15 pounds or 35 long ton. When presenting the weight, long ton is automatically chosen if the value is more than 1 long ton, otherwise pounds are chosen.
SB_WEIGHT_TON
The type of ton that is supposed to be used is assigned to this environment variable. The valid types are LONG and SHORT.
1 long ton (default) is 2240 lb or 1 016,047 kg
1 short ton is 2000 lb or 907,1847 kg
SB_WEIGHT_NOT
The number of pounds, when the system will switch from presenting the unit as pounds to ton, is assigned to the environment variable. Default is 2240.