Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | arthurZ |
Is there a function to determine the signal of a numerical variable? I mean determine if it is a plus sign or a minus sign.
Thank you.
Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | arthurZ |
Is there a function to determine the signal of a numerical variable? I mean determine if it is a plus sign or a minus sign.
Thank you.
Reply From: | mateusak |
sign(value)
How ironic.
By the way, why [Godot 2D] on the title? All my life I thought minus and plus were adimensional… I’ve been living a lie!
mateusak | 2018-02-11 01:30