|
[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Schema Question: decimal including INF??
I'm a complete newbie w/ Schema's, so this might be a dumb question.
I have a datatype that can be a decimal of arbitray precision, or it can be
+/- infinity.
since its arbitrary precision, my first instinct was to go to the
decimal datatype. However, it seems to me that INF is only defined for
double and float, not decimal.
I know I could define my own datatype, that is either a decimal or the
string "INF". However, I was thinking that with the float and double types,
presumably another application would see "INF" and interpret it as infinity.
If "INF" is matched on a string, though, the application would simply see
the literal string "INF".
if the arbitrary precision is not extraordinarily important, am I better
off just using the double type?
thanks,
Imran Rashid
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|
|||||||||

Cart








