We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fd5be66 commit daf3ecbCopy full SHA for daf3ecb
1 file changed
lib/python/gladevcp/calculatorwidget.py
@@ -299,11 +299,11 @@ def displayAdd( self, widget ):
299
self.displayOperand( "+" )
300
301
def displayMmInch( self, widget ):
302
- self.eval_string = "("+ self.eval_string + ") / " + locale.format("%f", float(25.4))
+ self.eval_string = "("+ self.eval_string + ") / " + locale.format_string("%f", float(25.4))
303
self.compute()
304
305
def displayInchMm( self, widget ):
306
- self.eval_string = "("+ self.eval_string + ") * " + locale.format("%f", float(25.4))
+ self.eval_string = "("+ self.eval_string + ") * " + locale.format_string("%f", float(25.4))
307
308
309
def on_ok_button_clicked ( self, widget ):
0 commit comments