Jump to content

Template talk:USDCY

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

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.42 in 2023)
  • $0.50 in 2009 is: ($0.71 in 2023)
  • $0.01 in 2009 is: ($0.01 in 2023)
  • $1 in 1940 is: ($21.75 in 2023)

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.