# How to Format Dates and Numbers

* If the [Magic Text](https://help.adalo.com/component-basics/inserting-dynamic-text) you add is for a Number or Date Property, you can customize how that information is formatted.
* **To see formatting options, click on the pencil in the Magic Text chip**
* &#x20;For numbers:
  * Saving Numbers in the Database
    * Whole numbers must be entered without symbols (no commas or periods). Decimals must be denoted by either a period (.) or a comma (,)
  * Formatting Number for Displaying
    * You can select whether the number should have commas, be abbreviated, or be displayed as currency.&#x20;
  * Prefixes and Suffixes
    * Prefixes and Suffixes can make your text even more magical by smartly showing the right word depending on whether the number is singular or plural.
    * For example, if you are showing a count of Trips, you can set the singular suffix to "Trip" and the plural suffix and "Trips."  Then your app will automatically show "1 Trip"  or "2 Trips"
* For dates:
  * You can elect whether you want your data formatted as a Date or Date/Time, Day of the Week, or Relative (i.e., 3 days ago)

![](https://3467607506-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LhGHkPsv15svPIU5I7C%2F-MRvDP-kJ2Il_oc1tJ1p%2F-MRvE74X9HMkD41tojl4%2FTrip%20Example%20\(1\).gif?alt=media\&token=da4a80dd-5580-4df5-8e47-65b81695453d)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://help.adalo.com/component-basics/inserting-dynamic-text/how-to-format-dates-and-numbers.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
