01-03-2020, 05:34 AM

The HP-55 doesn't have FRAC and INT funtions and I'm happen to see some

program example from HP-55 User's Manual that program the fractional

part routine in program.

Try this Fractional Part routine and it work as expected on HP-12C

Since this type of problem still exist on some programmble calculator that doesn't have

these funtion, couple friend of my have ask me about this type of problem before and I

didn' t know any good solution yet, until now.

This FRAC functions routine only work on "Positive Integer"

Example: FIX 9

2 [√X] display 1.414213562

[R/S] display 0.414213562

--------------------------------

355 [ENTER] 113 [÷] display 3.141592920

[R/S] display 0.141592920

Program: FRAC function

Remark: Program line 03 to 07 by itself canbe use as INT function.

Gamo 1/3/2020

program example from HP-55 User's Manual that program the fractional

part routine in program.

Try this Fractional Part routine and it work as expected on HP-12C

Since this type of problem still exist on some programmble calculator that doesn't have

these funtion, couple friend of my have ask me about this type of problem before and I

didn' t know any good solution yet, until now.

This FRAC functions routine only work on "Positive Integer"

Example: FIX 9

2 [√X] display 1.414213562

[R/S] display 0.414213562

--------------------------------

355 [ENTER] 113 [÷] display 3.141592920

[R/S] display 0.141592920

Program: FRAC function

Quote:01 ENTER

02 ENTER

03 EEX

04 9

05 +

06 LSTx

07 -

08 1

09 -

10 -

11 1

12 X≤Y

13 GTO 16

14 Rv // Roll Down

15 GTO 00

16 -

Remark: Program line 03 to 07 by itself canbe use as INT function.

Gamo 1/3/2020