Beispiel #1
0
 def set_trade_total(self, value):
     self.ui.doubleSpinBoxTotal.setValue(money.to_float(value))
Beispiel #2
0
 def set_trade_size(self, value):
     self.ui.doubleSpinBoxSize.setValue(money.to_float(value))
Beispiel #3
0
 def set_trade_price(self, value):
     self.ui.doubleSpinBoxPrice.setValue(money.to_float(value))
Beispiel #4
0
 def test_to_float(self):
     self.assertEquals(6.0, money.to_float(600000000))