You are here

function field_extract_number_decimal_extract in Field Extract Values 7

1 string reference to 'field_extract_number_decimal_extract'
field_extract_number_decimal_info in includes/number_decimal.inc
@file field_extract support for number_decimal field

File

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

Code

function field_extract_number_decimal_extract($item, $options = array()) {
  if (isset($item[$options['key']])) {
    return 0 + $item[$options['key']];
  }
}