KumbiaPHP beta2-dev
Framework PHP en español
|
00001 <?php 00023 class NumericFilter implements FilterInterface 00024 { 00032 public static function execute ($s, $options) 00033 { 00034 $patron = '/[^0-9\.]/'; 00035 return preg_replace($patron, '', (string) $s); 00036 } 00037 }