Click here to Skip to main content
13,354,885 members (72,785 online)
Rate this:
Please Sign up or sign in to vote.
See more:
want to show .00 after integer number in excel spread sheet through
Posted 22-Sep-12 4:21am
Wes Aday 22-Sep-12 9:26am
That makes no sense at all. Integers do not have decimal points. How is it that you are showing this data from Excel in VB.NET?
vijay bisht 25-Sep-12 1:20am
i want to convert the integer to a decimal and then show it on excelsheet .... but when i get something like 4.00or 3.000r anything.00 the excel sheet shows like this 1,3,or anything

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

You need to use Interop and then select the relevant cells and ammend the NumberFormat accordingly.

See this;[^]

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy |
Web02 | 2.8.180111.1 | Last Updated 22 Sep 2012
Copyright © CodeProject, 1999-2018
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100