| 141 | | |
| 142 | | End Function |
| 143 | | |
| 144 | | ' By Agrotic |
| 145 | | ' On ASP, when converting string to numbers, the number decimal separator is localized |
| 146 | | ' so 5.5 will not work on systems were the separator is "," and vice versa. |
| 147 | | Private Function ToNumericFormat( numberStr ) |
| 148 | | |
| 149 | | If IsNumeric( "5.5" ) Then |
| 150 | | ToNumericFormat = Replace( numberStr, ",", ".") |
| 151 | | Else |
| 152 | | ToNumericFormat = Replace( numberStr, ".", ",") |
| 153 | | End If |
| | 208 | |
| | 209 | |
| | 210 | ' By Agrotic |
| | 211 | ' On ASP, when converting string to numbers, the number decimal separator is localized |
| | 212 | ' so 5.5 will not work on systems were the separator is "," and vice versa. |
| | 213 | Private Function FCKeditor_ToNumericFormat( numberStr ) |
| | 214 | |
| | 215 | If IsNumeric( "5.5" ) Then |
| | 216 | FCKeditor_ToNumericFormat = Replace( numberStr, ",", ".") |
| | 217 | Else |
| | 218 | FCKeditor_ToNumericFormat = Replace( numberStr, ".", ",") |
| | 219 | End If |
| | 220 | |
| | 221 | End Function |
| | 222 | |