• Sign in
  • Sign up 
  • Welcome
  • FAQ
  • Switch to Night Mode
  • Stolen Accounts Recovery 
  • Change Account Password 
  • Vote for Witnesses 
  • Steem Proposals 
  • Third-party exchanges:
  • Poloniex 
  • Advertise 
  • Jobs at Steemit 
  • Developer Portal 
  • Steem Bluepaper 
  • SMT Whitepaper 
  • Steem Whitepaper 
  • Privacy Policy
  • Terms of Service
Home
Online–(0 logged in · 0 anonymous)·24 h–(0 logged in · 0 anonymous)·28 d–(0 logged in · 0 anonymous)
EN▾
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 • 8 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%) .

8 years ago in #witness-category by oflyhigh (79)
100%
    10%25%50%75%100%
    $0.00
      Reply 1
      Sort:  
    • Trending
      • Trending
      • Votes
      • Age
    • [-]
      quochuy (72)
       8 years ago 

      Right...

      Posted using Partiko iOS

      100%
        10%25%50%75%100%
        $0.00
          Reply Copy link