Hi,
I haven't tested this code yet, but you may want to try it anyway.
'place in the OnFormat event for the section ...
' where it will be printed
Dim intRemainder as integer
'mod function will return the remainder after ...
' dividing txtFieldValue by the number after "mod"
' Of course, dividing by 1 will always get the ...
' fractional remainder
intRemainder = txtFieldValue Mod 1
If intRemainder > 0 Then
txtFieldValue = txtFieldValue + 1
End If
You will need to see if the original 8.3 becomes 9, or does it become 9.3. If it is 9.3, then a little modification to the formula is called for.
HTH, ![[pc2] [pc2] [pc2]](/data/assets/smilies/pc2.gif)
Randy Smith
California Teachers Association