Edge Rewrite
Jump to content

Template talk:USDCY

Page contents not supported in other languages.
Add topic
From Wikipedia, the free encyclopedia
Latest comment: 2 years ago by JPxG in topic Strange bug

Strange bug

[edit]

Noticing something weird: this template seems to handle sub-$1 quantities in a way that makes no sense. Testing this out:

  • $1 in 2009 is: ($1.50 in 2025)
  • $0.50 in 2009 is: ($0.75 in 2025)
  • $0.01 in 2009 is: ($0.02 in 2025)
  • $1 in 1940 is: ($22.98 in 2025)

I think it's rounding up. Oh well. jp×g 20:10, 7 October 2023 (UTC)Reply

Added a switch that changes r=0 to r=2 if param 1 is less than 1.