wasCSharpSQLite – Diff between revs 1 and 2
?pathlinks?
Rev 1 | Rev 2 | |||
---|---|---|---|---|
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; |
- | ||
680 | #if WINDOWS_MOBILE |
679 | #if WINDOWS_MOBILE |
|
681 | //alxwest: Tryparse doesn't exist on Windows Moble and what will Tryparsing a double do? |
680 | //alxwest: Tryparse doesn't exist on Windows Moble and what will Tryparsing a double do? |
|
682 | if ( Double.IsNaN( realvalue )) |
681 | if ( Double.IsNaN( realvalue )) |
|
683 | #else |
682 | #else |
|
684 | if ( Double.IsNaN( realvalue ) || !( Double.TryParse( Convert.ToString( realvalue ), out d ) ) )//if( sqlite3IsNaN((double)realvalue) ) |
683 | if ( Double.IsNaN( realvalue ) || !( Double.TryParse( Convert.ToString( realvalue ), out d ) ) )//if( sqlite3IsNaN((double)realvalue) ) |