wasCSharpSQLite – Diff between revs 2 and 3
?pathlinks?
Rev 2 | Rev 3 | |||
---|---|---|---|---|
Line 674... | Line 674... | |||
674 | #endif |
674 | #endif |
|
675 | if ( xtype == etFLOAT ) |
675 | if ( xtype == etFLOAT ) |
|
676 | realvalue += rounder; |
676 | realvalue += rounder; |
|
677 | /* Normalize realvalue to within 10.0 > realvalue >= 1.0 */ |
677 | /* Normalize realvalue to within 10.0 > realvalue >= 1.0 */ |
|
678 | exp = 0; |
678 | exp = 0; |
|
- | 679 | double d = 0; |
||
679 | #if WINDOWS_MOBILE |
680 | #if WINDOWS_MOBILE |
|
680 | //alxwest: Tryparse doesn't exist on Windows Moble and what will Tryparsing a double do? |
681 | //alxwest: Tryparse doesn't exist on Windows Moble and what will Tryparsing a double do? |
|
681 | if ( Double.IsNaN( realvalue )) |
682 | if ( Double.IsNaN( realvalue )) |
|
682 | #else |
683 | #else |
|
683 | if ( Double.IsNaN( realvalue ) || !( Double.TryParse( Convert.ToString( realvalue ), out d ) ) )//if( sqlite3IsNaN((double)realvalue) ) |
684 | if ( Double.IsNaN( realvalue ) || !( Double.TryParse( Convert.ToString( realvalue ), out d ) ) )//if( sqlite3IsNaN((double)realvalue) ) |