GE Lua Documentation

Press F to search!

mph

Definition


-- @/lua/ge/extensions/ui/vehicleSelector/vehicleSpecifications.lua:160
  mph = function(value)
    if not type(value) == 'number' then
      return tostring(value)
    end
    return string.format("%0.2f%s", value * CONVERSIONS.MPS_TO_MPH, " mph")
  end,

Callers