In search_api_ranges.module:

search_api_ranges.module:266:          '@from' => number_format($variables['min'], 0, ',', '.'),
search_api_ranges.module:267:          '@to' => number_format($variables['max'], 0, ',', '.'),
search_api_ranges.module:513:    '#markup' => $variables['prefix'] . number_format($min, 0, '.', '.')
search_api_ranges.module:515:      . number_format($max, 0, '.', '.') . $variables['suffix'],

Looks like the "decimal point" and thousand seperator (last two args of for number_format call) are incorrect or interchanged. This should be

search_api_ranges.module:266:          '@from' => number_format($variables['min'], 0, '.', ','),
search_api_ranges.module:267:          '@to' => number_format($variables['max'], 0, '.', ','),
search_api_ranges.module:513:    '#markup' => $variables['prefix'] . number_format($min, 0, '.', ',')
search_api_ranges.module:515:      . number_format($max, 0, '.', ',') . $variables['suffix'],

kaavla

Comments

Anonymous’s picture

Priority: Critical » Normal
Status: Active » Fixed

Thanks, I decided to simply drop that ',', '.' part altogether.

Committed to dev-x.
http://drupalcode.org/project/search_api_ranges.git/commit/347b214

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.