News:

Do you need help?
Simutrans Wiki Manual can help you to play and extend Simutrans. In 9 languages.

r6520 - "margin" display denominated incorrectly

Started by jamespetts, June 10, 2013, 11:06:54 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

jamespetts

In the finance window, the "margin" is shown (correctly) as (for example) 12.84% in the text next to the button, but shows as 1,284 in the graph suggesting that there is a missing "/ 100" somewhere.
Download Simutrans-Extended.

Want to help with development? See here for things to do for coding, and here for information on how to make graphics/objects.

Follow Simutrans-Extended on Facebook.

prissi

That is intended, since other paks with margins smaller than 1 percent would just be shown as 0.

jamespetts

Can you not just show it as a decimal, e. g. 0.67?
Download Simutrans-Extended.

Want to help with development? See here for things to do for coding, and here for information on how to make graphics/objects.

Follow Simutrans-Extended on Facebook.

prissi

It could display as money, although it would get the money symbol.

Ters

It is also certainly possible to code percentage support into the graphs, but as with everything else, someone has to have the time and motivation to do it.