Hi. I am new to this forum, and have a question that I'm hoping someone can answer. I am working in InfoPath 2010 with SharePoint 2007. I have a drop-down list box that is populated with numeric values (integers) from a SharePoint list. The drop-down list box is a text field. I understand that the numeric values from SP come into InfoPath as numbers. I need to format the values in the drop-down list box to remove the decimal place and trailing zeroes. I am able to do this for single text box fields using the substring-before function, but I can't apply the function to all of the values in the drop-down list box. I have tried changing the data type of the drop-down list box to a both Whole Number and Double Precision, but still can't get formats to work. Further, when I do change the data type and try to use the form, the field errors out. Is there any way to format the numeric values in a drop-down list box that is data type Text? Can I use some XPath code when I am setting the value of the field? Thank you for any help!