This program converts decimal value to binary value, and vice-versa.
Functionality: This program asks user to enter valid value in binary or decimal input box.
The validations are as follows:
Binary Input Box:
* The binary input box should not be left blank for the purpose of decimal conversion.
* User can not enter decimal value or any character value in binary input box. User need to enter only binary number that is made of 0s and 1s.
Decimal Input Box:
* The decimal input box should not be left blank for the purpose of binary conversion.
* User can not enter any character value in decimal input box.
This program validates submitted value at Server Side. If user submits invalid value then the program will display error message in Red color. This is possible because of Server Side validation script.
Saturday, May 22, 2010
Workshop 9
Decimal to Binary and Binary to Decimal Conversion
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment