Ask a Question related to ASP.NET General, Design and Development.
-
Rolando Tonin #1
Currency values display problems
I'm still working on a intranet site builded on IBUYSPORTAL framework. This
site is configured with NT-Autorization and running with impersonate = true
and local-system.
When I want to display element type Currency, for example Budgets value,
from database, after the conversion in strings with this class:
public class FormatoNumeri
{
public FormatoNumeri()
{
}
public static NumberFormatInfo GetFormatoNumeri
{
get
{
NumberFormatInfo nfi;
nfi = (NumberFormatInfo)NumberFormatInfo.CurrentInfo.Clo ne();
nfi.NumberDecimalSeparator = ".";
nfi.NumberGroupSeparator = "'";
nfi.CurrencyDecimalSeparator = ".";
nfi.CurrencyGroupSeparator = "'";
return nfi;
}
}
public static string StampaNumero(double valore)
{
return string.Format(FormatoNumeri.GetFormatoNumeri,
FormatoDati.FORMATOVALUTA, valore);
}
public static string StampaPercentuale(double valore)
{
return string.Format(FormatoNumeri.GetFormatoNumeri,
FormatoDati.FORMATOPERCENTUALE, valore);
}
}
, they are displayed with the prefix L. instead ?. Why?.
Rolando Tonin Guest
-
#40174 [NEW]: is_numeric with currency values
From: sehh at altered dot com Operating system: Fedora Core Linux PHP version: 5.2.0 PHP Bug Type: Math related Bug... -
Can't display initial XML values
I've created a SWF that pulls information from an XML file. When one of several hundred buttons is clicked, it searches the XML file for that... -
Is it best to use Currency or Number for dollar values?
I have been using Currency as the data type of choice for allowing clients to update dollar values (rate, fee, price) into an MS Access database. It... -
How can I display hashtable key values in a web page?
Here is my first attempt at populating the hashtable. dim t as hashtable = new hashtable() dim k as integer = t.key dim v as integer = t.value... -
GD::Graph::Pie display values
> > Just stated using this great module. I can't seem to get values to Labels display fine; I'm looking to display the *values*. I...



Reply With Quote

