Discussion

Convert Integer to Double

How to convert a Double type property to a Interger value?

***Updated by moderator: Marissa to close post***
This post has been archived for educational purposes. Contents and links will no longer be updated. If you have the same/similar question, please write a new post.

Comments

Keep up to date on this post and subscribe to comments

November 5, 2008 - 7:26am

I think you should use toInt and toString functions in combination as there is no direct function available.

December 17, 2008 - 5:32pm

Assigning the Double value to an Integer should do the trick...

-Aman

Pega
December 17, 2008 - 5:41pm

There's many places this conversion could occur, so can you be more specific about where you want it to appear as an Integer? For display, in a database column, as part of a calculation?

- Tim (Pega)