Ejemplo n.º 1
0
 @gplx.Virtual
 public byte[] Commafy(byte[] num_bry) {
   if (num_bry == null) return Bry_.Empty; // MW: if ( $number === null ) return '';
   if (num_grp_fmtr.Mode_is_regx()) return num_grp_fmtr.Fmt_regx(tmp_bfr, num_bry);
   else // NOTE: for now, return same as ###,###,###; only affects 12 languages; current
        // implementation is bad; https://bugzilla.wikimedia.org/show_bug.cgi?id=63977
   return num_grp_fmtr.Fmt_regx(tmp_bfr, num_bry);
 }