Skip to content

How can i add a variables which you can put a half of kilos for customer bill? using python #37

@TheShakk

Description

@TheShakk

Errors:

Traceback (most recent call last):
File "C:\Users\Mila\AppData\Local\Programs\Python\Python312\Lib\tkinter_init_.py", line 1968, in call
return self.func(*args)
^^^^^^^^^^^^^^^^
File "c:\Users\Mila\Desktop\Project Files\Inventory\billing.py", line 297, in add_update_cart
elif int(self.var_qty.get())>int(self.var_status.get()):
^^^^^^^^^^^^^^^^^^^^^^^
ValueError: invalid literal for int() with base 10: '1.5'
Exception in Tkinter callback
Traceback (most recent call last):
File "C:\Users\Mila\AppData\Local\Programs\Python\Python312\Lib\tkinter_init_.py", line 1968, in call
^^^^^^^^^^^^^^^^
elif int(self.var_qty.get())>int(self.var_status.get()):
^^^^^^^^^^^^^^^^^^^^^^^
ValueError: invalid literal for int() with base 10: '1.5'

Images:

2
1
3

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions