1
0
Fork 0

add constants GAL2L and LB2KG

This commit is contained in:
mfranz 2008-12-07 14:44:52 +00:00
parent ceefecd971
commit db4c98d63e

View file

@ -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