Shop OBEX P1 Docs P2 Docs Learn Events
Float compare? Return is? — Parallax Forums

Float compare? Return is?

TJHJTJHJ Posts: 243
edited 2009-02-06 20:45 in Propeller 1
Um so I can remember and I cant seem to find which way this works. ( Not in comments, included docs and I cant find a thread talking about it.)

f.fcmp(a,b) compare to floating point numbers.

Is the return like so

A > B returns 1?
A < B returns -1?
A = B returns 0?

or the other way around?

Thanks,
TJ

Comments

Sign In or Register to comment.