Objective: Create a decimal variable and compute its absolute value.
Instructions:
Define the Variable:
Create a variable named
decimal_valueand assign it the value-12.5.
Compute the Absolute Value:
Apply a filter to
decimal_valueto calculate its absolute value, effectively transforming-12.5into12.5.
Submit your result contained in the variable
decimal_value.
Expected Result:
Submit the variable decimal_value as your answer. See example below:
Install the snippet to get started: https://www.xano.com/snippet/XwN5GThx