gdr2_unit_convert

gdr2_unit_convert($name, $value, $from, $to)

  • $name: unit category name.
  • $value: value to convert.
  • $from: unit to convert from.
  • $to: unit to convert to.

Convert value from one unit to another for the specified unit category.
Function returns: mixed converted value.

Comments

Leave a Reply