How to validate a decimal value with 2 digits after decimal point (de decimal point is a comma)
I am a newbee, I have a Textbox where de user must write the price of an object.
How can I validate de data entry in the Textbox (it must be a valid decimal with 2 digits after decimal point), and my pages are in Portuguese so the decimal point to be accepted must be a comma
well you can do something like followig:
suppose TextBox1.Text = 123456,789
then you can say
int index1 = TextBox1.Text.IndexOf(",") +1;
int index2 = TextBox1.Text.IndexOf(...Need to format float with no decimals or decimal point.
Is there a format for float that displays only the integer portion? Or at the least, integer portion and decimal point but no digits to right?
What about this:
Wow - thanks. Is there a good reference book that has all the format forms, control structures and properties. Everything I have has a the essentials but nothing in depth. I know this kind of thing is simple but is sure is a lot to try and remember.
You can sear...how to convert value with decimal point into value with decimal comma
I like to know how I can change (for example) the value 55.55 into 55,55. (The system in my country is using comma's instead of points)
I'm starting with a string with the value "55.55"
Then I will convert it to a double 55,55
Do I need the the system.Globalization namespace or is there just a simple solution?
Hi,If you are just going to use this format for display then it would be easy to do this:double dTemp;dTemp = 55.55;Response.Write(dTemp.ToString().Replace(".",","));H...Decimal point.
I have a problem with de decimal point: I need a comma.
The problem does not appear in dw, but in edit masks.
I think it's the deployment kit: I may be working with the
english, not the spanish. Does anybody know which are the
Isn't it dependent of regional settings ?
> I have a problem with de decimal point: I need a comma.
> The problem does not appear in dw, but in edit masks.
> I think it's the deployment kit: I may be working with the
> english, not the spa...XSD file Decimal column displays 4 point after decimal
Hi to all,
I have a xsd file with one table adapter, it has 4 column
i drag and drop the columns into rdlc file but, the report displays 4 digit after decimal point but i want to display it as two decimal point.
How to do this experts please help me.
But i checked in my query from sql it is displays as it is in the table(there some data have four digit after decimal some data have two digit after decimal)
but when get it into DataSet object all data are converted i...ASE and ASE
Could it be possible to take scripts from ASA and load them in an ASE
Any information is welcome
ASA supports a fairly large sub-set of Transact-SQL, so if you write your
stored procedures and triggers in ASA using T-SQL, you should be able to
create scripts that will run against both ASE and ASA. If you're planning
to do this though, I would suggest developing your database schema against
ASA, since everything you write in T-SQL in ASA will be supported on ASE,
but the reverse is not true.
Check out the section in the ASA documentation entitled "Tra...What generals generally do
Reading a McChrystal thread elsewhere, I came across someone quoting a
> I spent 33 years and four months in active military service and
> during that period I spent most of my time as a high class thug for
> Big Business, for Wall Street and the bankers. In short, I was a
> racketeer, a gangster for capitalism. I helped make Mexico and
> especially Tampico safe for American oil interests in 1914. I helped
> make Haiti and Cuba a decent place for the National City Bank boys to
> collect revenues in. I ...decimal point
I am trying to move the decimal point 2 places to the the left.
Eg : To make 4536233 into 45362.33
I tried this
$total = "4536233";
$total = sprintf("%0.2f",$total);
But I get this
Can anyone help please
...ASE to ASE
Is anyone out there doing ASE to ASE replication using SQL remote? If
you are have created your own version of the SSEXTRACT utility to set up
a replicant database in ASE rather than ASA? Or does anyone know if
SYBASE has created a version SSEXTRACT for use with ASE to ASE
Thanks in advance
I thought the SQL Remote Replication support in ASE11.5 was meant for a
consolidate-database only (by design)! At least that was what Sybase
said when they announced support for SQL Remote technology support in
I will be happy to...ASA To ASE - VS
What are the differents in terms of configuring SQL Remote Between ASA to
ASE and ASE To ASE ?
You should start with the Help file and then ask specific questions:
Data Replication with SQL Remote
PART 5. Appendix
APPENDIX A. Enterprise and Anywhere: Differences
There are many differences, so begin there.
Please only post to the newsgroup
BH Ong <firstname.lastname@example.org> wrote in message
> What are the differents in terms of configuring SQL Remote Between ASA to
> ASE and ASE To ASE ...Does the secondary truncation point in the Adaptive Server need to be dsiable when upgrading ASE 12.5.03 to ASE 12.5.3
This is a multi-part message in MIME format.
Does the secondary truncation point in the Adaptive Server need to be =
disabled when upgrading ASE 12.5.03 to ASE 12.5.3?
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<...Does the secondary truncation point in the Adaptive Server need to be disabled when upgrading ASE 12.5.03 to ASE 12.5.3
Does the secondary truncation point in the Adaptive Server need to be
disabled when upgrading ASE 12.5.03 to ASE 12.5.3?
No. just stop replication before the upgrade and restart it after the
upgrade. Nothing special :)
Jason L. Froebe
> Does the secondary truncation point in the Adaptive Server need to be
> disabled when upgrading ASE 12.5.03 to ASE 12.5.3?
...Decimal points in datawindows
I am having a problem with decimals in my datawindows. When I try entering a
percentage value, it is abandoning all values to the right of the decimal.
Incidentally, the field is a decimal with no validation.
Edit Mask: Format: Input:
None (General) 3.2
None (General) 0.032
None (General) 3.2%
"Does not pass validation"
None 0.00% 3.2