add constants GAL2L and LB2KG
This commit is contained in:
parent
ceefecd971
commit
db4c98d63e
1 changed files with 9 additions and 1 deletions
|
@ -3,8 +3,16 @@
|
|||
#
|
||||
var D2R = math.pi / 180; # degree to radian
|
||||
var R2D = 180 / math.pi; # radian to degree
|
||||
|
||||
var FT2M = 0.3048; # feet to meter
|
||||
var M2FT = 1 / FT2M; # meter to feet
|
||||
var M2FT = 1 / FT2M;
|
||||
|
||||
var LB2KG = 0.45359237; # pounds to kilogram
|
||||
var KG2LB = 1 / LB2KG;
|
||||
|
||||
var GAL2L = 3.785411784; # US gallons to liter
|
||||
var L2GAL = 1 / GAL2L;
|
||||
|
||||
|
||||
##
|
||||
# Returns true if the first object is an instance of the second
|
||||
|
|
Loading…
Add table
Reference in a new issue