You are here

function field_extract_number_float_extract in Field Extract Values 7

1 string reference to 'field_extract_number_float_extract'
field_extract_number_float_info in includes/number_float.inc
@file field_extract support for number_float field

File

includes/number_float.inc, line 18
field_extract support for number_float field

Code

function field_extract_number_float_extract($item, $options = array()) {
  if (isset($item[$options['key']])) {
    return (double) $item[$options['key']];
  }
}