mrrichardasmith / family_vote

Voting for the Democratic Family
0 stars 0 forks source link

Item fields displaying with 14 decimal places #49

Closed mrrichardasmith closed 2 years ago

mrrichardasmith commented 2 years ago

Currently for some reason the Subscription and Insurance fields are displaying with 14 decimal places. This seams to be something to do with the calculations but those are very simple and so its a confusing outcome.

Limit the display of values to 2 decimal places for all financial fields.

mrrichardasmith commented 2 years ago

applied round(variable, 2) to ensure the correct format. Still not completely sure why this was necessary.