I have a datapage that automatically insert numbers from a Caspio table into an html generated table on a Details page. Calculated values are also inserted into the table on the Details page.

The problem is that a number such as 43 is incorrectly inserted into the table as 43.00. A number such as 1.23 is correctly inserted into the table as 1.23. What code do I need to insert so that 43 is inserted as 43 and not as 43.00? Numbers such as 1.23 would still need to be inserted as 1.23, and not simply as 1.

You can post now and register later.
If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

## Question

## Thor

I have a datapage that automatically insert numbers from a Caspio table into an html generated table on a Details page. Calculated values are also inserted into the table on the Details page.

The problem is that a number such as 43 is incorrectly inserted into the table as 43.00. A number such as 1.23 is correctly inserted into the table as 1.23. What code do I need to insert so that 43 is inserted as 43 and not as 43.00? Numbers such as 1.23 would still need to be inserted as 1.23, and not simply as 1.

Thanks,

Thor

## Link to comment

## Share on other sites

## 5 answers to this question

## Recommended Posts

## Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Note:Your post will require moderator approval before it will be visible.