Multiply #WEEKLY Usage of math module
PYer (3224)

Using the math module, I managed to use an equation to multiply two numbers. I used the pow (to the tenth) function and log10, creating a lambda function here:
math.pow(10, (math.log10(a) + math.log10(b)))
I can't wait to see what other solutions people come up with!

You are viewing a single comment. View All
AmazingMech2418 (655)

@Codemonkey51 Though, what I mean is that I can do the exact same method in Node without a library, so it shouldn't be restricted by languages. By that logic, you could never do anything for this in C, C++, C#, and maybe even like Java!