Liz Anaya Ramos
·Developer Community Manager @ Xano

Rounding Down a Decimal - Challenge #27


Objective: Create a decimal variable and round it down to the nearest integer.

Instructions:

  1. Define the Variable:

    • Create a variable named decimal_value and assign it the value 9.99.

  2. Round Down:

    • Add a filter to the variable decimal_value that rounds decimal_value down to the nearest integer.

  3. 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