294
294
[CCode (cname = "vqdr_common_fast_number_compare")]
297
297
private void parse_raw_number (string str) {
298
298
//debug (@"(parse_raw_number) str: $str");
300
300
int i_of_dot = str.index_of_char ('.');
302
302
// Get the decimal number from the string, if such a thing exists.
303
303
if ((str.length - 1 > i_of_dot)) {
304
304
var intr_str = (str + "000").substring (i_of_dot + 1);
307
308
for (i = 0; intr_str.@get (i) == '0'; i++){}
310
311
intr_str = intr_str.substring (i);
311
312
//debug (@"(parse_raw_number) Intermediate string: $intr_str");
315
316
// debug (@"(parse_raw_number) i_of_dot: $i_of_dot, ret_val (decimal): $ret_val\n");