Michael Lew wrote:
Dear Listers

I'm working on some statistical simulations and regularly get output numbers
with anything from 1 to 7 digits. They are hard to read when they don't have
the conventional commas separating the thousands and millions. I've written
a simple function that does the comma formatting for me but it mucks up
sorting. Of course. (I'm using a datagrid to display the results and live
sorting is really handy.)
I've not yet used a datagrid, so this is a guess ....

can you supply a custom sort function ? Something like

function testLessThan p1, p2
replace comma with empty in p1
replace comma with empty in p2
return p1 < p2
end testLessThan

-- Alex.
_______________________________________________
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to