Shop OBEX P1 Docs P2 Docs Learn Events
Issues with num.ToStr — Parallax Forums

Issues with num.ToStr

Martin HebelMartin Hebel Posts: 1,239
edited 2007-12-31 05:51 in Propeller 1
I'm using the following code in a very basic graphics program - not much esle going on.

    gr.textmode(2,2,6,3)
    gr.text(50,50,num.ToStr(30,num#DEC))
    gr.text(150,50,num.ToStr(56,num#DEC))

What I get on the screen is 36 and 56 instead of 30 and 56.· There's a problem it seems in Jeff's numbers that I can't find a work around for. In another program, the 6 on 56 doesn't even show up.· Any thoughts?

-Martin
·

Comments

Sign In or Register to comment.