×

Good News Everybody!

The new search engine is LIVE!

Please report any problems to david (at) midrange.com.




Hi Don,

Maybe it's because they're strings, not numbers, so the comparison is left-adjusted blank-filled, not based on decimal alignment.

In other words, "4" is greater than "1".

hth,
*Peter Dow* /
Dow Software Services, Inc.
909 793-9050
pdow@xxxxxxxxxxxxxxx <mailto:pdow@xxxxxxxxxxxxxxx> /

Don Cavaiani wrote:
TSTTOD   TSTQTR   (from mytable1a)
04:00a   4.00

@DTW_TB_GETV(mytable1a, "1", "2", savi1d) 4.00 savi1d TSTTOD TSTQTR (from mytable1b)
01:30a   1.50

        @DTW_TB_GETV(mytable1b, "1", "2", savo1d)
1.50 savo1d
%IF (savi1d >= "16.00")
@dtw_eval("$(savo1d) + 24", savo1d)
%ELSE
%ENDIF

25.5 savo1d

Don F. Cavaiani
IT Manager
Amerequip Corp.
920-894-7063
"Only one who devotes himself to a cause with his whole strength and soul can be a true master. For this reason mastery demands all of a person." Albert Einstein





As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2026 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.