From: Fab <kr...@bi...> - 2002-02-18 18:51:00
|
> I cannot make my db do this. I try a db with this schema: > field 0 (string) > field 1 (int) > field 2 (calc) --> '(sort 0 1)(- %1 (ffr 1 -1))' > > I get a database like this: > > apple 0 [n/a] > car 5 5 > clak 100 95 > dad 4 -96 > sara 0 -4 > zed 0 0 > zorry 12 12 > > everything looks ok to me. Yes it looks ok to me too :-) > Can you send me your script? Or some more details? My script is identical to your's (I grabbed it from your doc :-). And if I put little number like you did, it works. But I have large integer numbers like 40.000 (english representation) to 50.000. Say with 4, from 4 to 4.000 it works, but with 40.000 it displays the complementary to 2 on a 65536 basis (-25.536 instead of 40.000). Strange. Fab. |