Convert Decimal to Whole Number - InfoPath Dev
in

InfoPath Dev

Convert Decimal to Whole Number

Last post 05-26-2009 11:27 PM by Patrick Halstead. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 05-26-2009 11:05 AM

    Convert Decimal to Whole Number

    Hello,

    I am having trouble converting my decimal to a whole number. My SQL database has the column stored as "decimal". In infopath, I can only use the decimal numbers. I would like to be able to view the drop-down in whole numbers instead of decimals. The end user does not want to do the conversion in their head. Instead of displaying .05 in the dropdown, I wouyld like for it to show as 5 %. How can I format this, and make my formula recognize this?

  • 05-26-2009 11:27 PM In reply to

    Re: Convert Decimal to Whole Number

    I would just write a little code or script to round the number up and convert it to a string.

    Patrick Halstead
    Project Manager at Qdabra
Page 1 of 1 (2 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.