# \cge_units

A simple class for dealing with metric to imperial conversions

## Summary

Methods
Properties
Constants
is_length_metric()
is_weight_metric()
No public properties found
INCHES_TO_CM
CM_TO_INCHES
LBS_TO_KG
KG_TO_LBS
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A
final

File
  lib/class.cge_units.php
Package
  \CGExtensions
Class hierarchy
  \cge_units

## Tags

todo |

## Constants

### INCHES_TO_CM

    INCHES_TO_CM

#

## Tags

todo |

### CM_TO_INCHES

    CM_TO_INCHES

#

## Tags

todo |

### LBS_TO_KG

    LBS_TO_KG

#

## Tags

todo |

### KG_TO_LBS

    KG_TO_LBS

#

## Tags

todo |

## Methods

### is_length_metric()

    is_length_metric(string $str) : bool

Test if the string specified indicates a metric length value (accepts cm)

#### Parameters

string | $str |

#### Returns

bool

#

static

## Tags

todo |

### is_weight_metric()

    is_weight_metric(string $str) : bool

Test if the string specified indicates a metric mass value (accepts kg or kgs)

#### Parameters

string | $str |

#### Returns

bool

#

static

## Tags

todo |

### class.cge_units.php