Number Variables
Get started with FluxyAPI
In this guide, we'll show you how to use numbers.
Introduction
Before we begin, make sure you have:
- An active account on FluxyAPI.
- A project created (see Create your first project).
What Is a Number
A number is a numeric value like 5, 4.3, or -7.
How to Create a Number
Navigate to the correct project by clicking it in the top left corner of the dashboard.
Now that you're on the correct project, click the "Storage" tab in the sidebar.
Click "New Variable" in the top right of the storage page.
In the first box that appears, give your variable a name. Make this descriptive, not like my_var but something like pizza_cost!
Select "number" under the type options.
(Optional) If you would like, you can add a number that will be there from the beginning under the "Initial Value" option.
Click "Create Variable" and you're done. You've now successfully made a number in your FluxyAPI project!
Summary & Notes
You've now created a number successfully on your FluxyAPI dashboard!
Your number can only be from -9e50 to 9e50, with a max of 8 decimal places!
To use variables in endpoints, see our Using Variables guide.
If you've got any questions or encounter any issues, feel free to join our Discord server, and we'll try to fix any issues you may face!
