Jump to content
Korean Random

request - py_macro


Recommended Posts

Hi,

there is a problem with "math_div" in "math.py":

 

Now it is called:

 

# Division. Деление.
@xvm.export('math.div')
def math_div(a, b):
    return a / b

 

It should be:

 

# Division. Деление.
@xvm.export('math.div')
def math_div(a, b):
    return a / float(b)

 

Is it posssible to be fixed by default?

I have to change it every time I update XVM.

 

Thx :)

Link to comment
Short link
Share on other sites

Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...