The International Simutrans Forum

Development => Bug Reports => Topic started by: jamespetts on June 10, 2013, 11:06:54 PM

Title: r6520 - "margin" display denominated incorrectly
Post by: jamespetts on June 10, 2013, 11:06:54 PM
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.
Title: Re: r6520 - "margin" display denominated incorrectly
Post by: prissi on June 11, 2013, 03:04:53 PM
That is intended, since other paks with margins smaller than 1 percent would just be shown as 0.
Title: Re: r6520 - "margin" display denominated incorrectly
Post by: jamespetts on June 11, 2013, 06:13:54 PM
Can you not just show it as a decimal, e. g. 0.67?
Title: Re: r6520 - "margin" display denominated incorrectly
Post by: prissi on June 11, 2013, 08:33:04 PM
It could display as money, although it would get the money symbol.
Title: Re: r6520 - "margin" display denominated incorrectly
Post by: Ters on June 11, 2013, 09:02:46 PM
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.