* Number format for Khmer (no thousand separator, ',' as decimal separator)

This commit is contained in:
Niklas Laxström 2008-07-13 13:59:30 +00:00
parent fcc3a7dbf2
commit d6490bb56d
2 changed files with 21 additions and 0 deletions

View file

@ -0,0 +1,17 @@
<?php
/** Khmer (ភាសាខ្មែរ)
*
* @ingroup Language
*
* @author Niklas Laxström
*/
class LanguageKm extends Language {
function commafy($_) {
/* NO-op for Khmer. Cannot use
* $separatorTransformTable = array( ',' => '' )
* That would break when parsing and doing strstr '' => 'foo';
*/
return $_;
}
}

View file

@ -29,6 +29,10 @@ $digitTransformTable = array(
'9' => '៩', # &#x17e9;
);
$separatorTransformTable = array(
'.' => ','
);
$datePreferences = array(
'default',
'km',