• Sign in
  • Sign up 
  • Welcome
  • FAQ
  • Switch to Night Mode
  • Stolen Accounts Recovery 
  • Change Account Password 
  • Vote for Witnesses 
  • Steem Proposals 
  • Developer Portal 
  • Steem Bluepaper 
  • SMT Whitepaper 
  • Steem Whitepaper 
  • Privacy Policy
  • Terms of Service
Homeby Witness Moecki
LoginSign up
You are viewing a single comment's thread from:

RE: Why is median_history_price no longer the median of feed price? My investigation.

  • View the full context
  • View the direct parent
oflyhigh (79)in #witness-category • 7 years ago

It is because forced type conversion is used in the code.
When percent_sbd is 999.9973478070555, it return 999, so we got sbd_print_rate return 100(1%) .

7 years ago in #witness-category by oflyhigh (79)
$0.00
    Reply 1
    Sort:  
  • Trending
    • Trending
    • Votes
    • Age
  • [-]
    quochuy (72)
     7 years ago 

    Right...

    Posted using Partiko iOS

    $0.00
      Reply