No announcements

### How can I convert a string to a decimal?

I'm trying to convert an item in an array of strings to a decimal but not having much luck  I get an error that reads 'Input string was not in ...
| 3 Replies | 602 Views | Created by _Joan B_ - Friday, December 11, 2015 4:16 PM | Last reply by BonnieB - Monday, December 14, 2015 8:14 PM

### How can I convert a hexadecimal number to a decimal?

How can I convert a hexadecimal number to a decimal?
| 4 Replies | 979 Views | Created by John Ap - Friday, June 6, 2014 8:29 AM | Last reply by Solitaire - Friday, June 6, 2014 1:49 PM

### How To Convert String Value Into Decimal In Vb C#?

Decimal Conversion Using the {0} Culture", culture.Name); foreach (string value in values) { ...
| 4 Replies | 2664 Views | Created by Archana Palani - Wednesday, March 18, 2015 3:10 AM | Last reply by Kristin Xie - Thursday, March 19, 2015 7:36 AM

### How to convert numeric string to packed decimal (unsigned)

Your change has converted the two nibbles to a byte value.
| 11 Replies | 2709 Views | Created by WestJefferson - Monday, January 18, 2016 10:17 PM | Last reply by dbasnett - Tuesday, January 19, 2016 12:25 PM

### Convert the value into double or decimal

You can alternatively CAST it to Decimal as well using below expression; =CDec(55) Please let ...
| 3 Replies | 26666 Views | Created by fullmetalboy - Sunday, August 12, 2012 7:39 PM | Last reply by ktcode - Tuesday, December 1, 2015 3:44 PM

### convert string to decimal: insanity

So, now my question is: How am I supposed to handle database input if I can't assign to nullable CLR types?
| 13 Replies | 5214 Views | Created by AllenN - Monday, January 24, 2011 4:52 AM | Last reply by Yasser Zamani - Mr. Help - Tuesday, January 25, 2011 11:03 AM

### Converting decimal array to string...

decimal[] decArr = new decimal[5]; // ...
| 1 Replies | 4893 Views | Created by peryan77 - Friday, August 21, 2009 12:42 AM | Last reply by Nishant Sivakumar - Friday, August 21, 2009 12:52 AM

### Convert decimal to string format as Currency

Hi, What you are doing wrong is trying to format string (TenantsBalanceString) instead of decimal directly (TenantsBalance).
| 5 Replies | 1959 Views | Created by aniyahudi - Monday, August 25, 2014 2:12 AM | Last reply by Mr. Zator - Monday, August 25, 2014 6:54 AM

### Decimal TryParse convert currency string to decimal

I think those matter and are also where Parse() and ToString() get thier default values from.
| 5 Replies | 7300 Views | Created by shiftbit - Monday, November 18, 2013 1:34 PM | Last reply by Christopher84 - Monday, November 18, 2013 3:01 PM

### How to convert varchar to decimal and decimal to varchar?

Here's an article that describes how to make a TextBox accept only numeric values:
| 14 Replies | 4057 Views | Created by OVlad - Monday, July 22, 2013 8:36 PM | Last reply by Magnus (MM8) - Tuesday, July 23, 2013 3:10 PM

### Globalisation: converting a string to decimal

How is it stored in the database?
| 10 Replies | 3886 Views | Created by Dr Griff - Tuesday, March 9, 2010 12:11 PM | Last reply by Dr Griff - Tuesday, March 9, 2010 5:29 PM

### how to convert string with comma(",") to decimal and how to verify whether a decimal is good for "decimal(6,5)"

Alternatively, you can use String.Replace to change "," to ".
| 2 Replies | 13686 Views | Created by martinwang1985 - Wednesday, March 12, 2014 3:03 PM | Last reply by ranta - Wednesday, March 12, 2014 5:45 PM

### How to convert a decimal value to string in stored procedures & functions

Frankly saying that I see no difference between Select & Set statement here (because I only assign  01 variable at a time).
| 4 Replies | 8057 Views | Created by EdwardJde - Monday, May 7, 2012 7:15 PM | Last reply by EdwardJde - Monday, May 7, 2012 10:28 PM

### Convert string into decimal with keeping decimal point

Hi David, I miss the most famous one in this.
| 8 Replies | 20754 Views | Created by wuz - Tuesday, January 6, 2009 4:00 PM | Last reply by Cor Ligthert - Monday, February 5, 2018 1:02 PM

### Convert double to string with the digits after the decimal point

Hi, I am trying to convert a double value to string.
| 2 Replies | 16963 Views | Created by Ashok K - Friday, December 28, 2012 12:30 PM | Last reply by Adavesh - Friday, December 28, 2012 3:06 PM

### Convert decimal string to hex string?

I add here the reverse conversion:  Hex string to int string string sHex = "8000"; int iNumber = ...
| 3 Replies | 78879 Views | Created by mihooper - Friday, November 4, 2005 1:30 PM | Last reply by Dr. Luiji - Friday, January 25, 2008 3:08 PM

### how to know if the value inserted in textbox is string or decimal?

Dim value As String = TextBox1.Text Dim number As Decimal If Decimal.TryParse(value, number) Then ...
| 2 Replies | 4016 Views | Created by musiw - Tuesday, April 7, 2009 4:01 AM | Last reply by A.m.a.L Hashim - Tuesday, April 7, 2009 4:54 AM

### For string i can get as ToString, like wise How can i get for decimal?

I need only Decimal without using String.
| 6 Replies | 652 Views | Created by Sasicumaar - Wednesday, December 11, 2013 12:46 PM | Last reply by Viorel_ - Thursday, December 12, 2013 7:23 AM