Displaying Decimal values in Main WIndow

Asked by Clint

I am wanting to know how to stop the program from rounding all of my values and displaying the whole numbers? Currently if my balance is 57 cents (.57) it will show up as $1. I want it to show up as .57.

Question information

Language:
English Edit question
Status:
Answered
For:
HomeBank Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Mayank Goel (mac-goel) said :
#1

I think that you are using some math function like Ceil or Floor which converts the Float value into Integer value...
If there is some function being used like this then remove that function and simply print the balance..

Revision history for this message
Mayank Goel (mac-goel) said :
#2

If u can send me the code where you are getting this problem,then i may be able to solve your problem..

Revision history for this message
Clint (jarbs1605) said :
#3

I am not using any math functions that I know of. I have just installed the program and was trying to input balances, payments, etc. Everything is the default installation on Ubuntu 9.04 installed from the repositories. Basically, I got the program, installed it, and ran it. I made no settings configuration changes.

I can see the decimal values if I edit a transation, but in the Main window where it shows the balances of the accounts it shows everything as a whole number.

Revision history for this message
Maxime DOYEN (mdoyen) said :
#4

Go to the preferences.
Then display format item.
then set the frac digit to 2.

Can you help with this problem?

Provide an answer of your own, or ask Clint for more information if necessary.

To post a message you must log in.