function apachesolr_floatval in Apache Solr Search 8
Same name and namespace in other branches
- 6.3 apachesolr.index.inc \apachesolr_floatval()
- 7 apachesolr.index.inc \apachesolr_floatval()
1 string reference to 'apachesolr_floatval'
- apachesolr_fields_default_indexing_callback in ./
apachesolr.index.inc - Callback that converts list module field into an array For every multivalued value we also add a single value to be able to use the stats
File
- ./
apachesolr.index.inc, line 1227 - Functions related to Apache Solr indexing operations.
Code
function apachesolr_floatval($value) {
return sprintf('%0.20f', $value);
}