Because converting between the various float flavors between MS Access (yes: yikes!), Java, and SQLite are so fraught with frustration, I want to store the reals as ints in SQLite. Is the preferred way of accomplishing this like so (pseudocode):
//real r = 36.57
string realAsStr = r.ToString();
// realAsStr is now "36.57"
// strip out the decimal point so that realAsStr becomes "3657"
int strAsInt = (integer)realAsStr; // strAsInt is 3657
...or like so:
int realAsInt = r * 100; // r * 100 is 3657.0[0]; realAsInt = 3657
...or like some other so?
Note: these vals stored as real types in MS Access are monetary values, stored as doubles.