Thank you for the reply Henrik.

Your reply was most helpful.

Is there a way to get around truncation (round values to nearest integer) in PB PRO?

I am using LED's rather than a display as follows:

'------------------------------------------------------------------------
comp1:
If Percent > 10 Then comp2
PORTB = %00000001
Goto continue
comp2:
If Percent > 20 Then comp3
PORTB = %00000011
Goto continue
comp3:
If Percent > 30 Then comp4
PORTB = %00000111
Goto continue
comp4:
If Percent > 40 Then comp5
PORTB = %00001111
Goto continue
comp5:
If Percent > 50 Then comp6
PORTB = %00011111
Goto continue
comp6:
If Percent > 60 Then comp7
PORTB = %00111111
Goto continue
comp7:
If Percent > 70 Then comp8
PORTB = %01111111
Goto continue
comp8:
If Percent > 80 Then comp9
PORTB = %11111111
Goto continue
comp9:
If Percent > 95 Then comp10
comp10:
PORTB = %11111111
FreqOut bz, 250, 4000
pause 250
PORTB = %01111111
Low bz
pause 250

continue:

'Rest of code

'-------------------------------------------------------------------------

Again, thank you so much for your help.

Chris