Hacker News new | ask | show | jobs
by antrion 3288 days ago
Really great tool! Thanks for the hard work. It would also be really nice to specify custom units, such as

    ≫ U = 1e-6/60 * kat
    
      U = 1.66667e-8 kat
Because now it does this

    ≫ 1 kat -> U
    
      1 kat -> U
    
       = 1 kat
1 comments

Thank you for the feedback. Defining own units does not work currently, but you can simply divide by your new unit:

  >>> U = 1e-6/60 * kat
  
    U = 1.66667e-8 kat
  
  >>> 1 kat / U
  
    1 kat / U
  
     = 60000000