C validating data types
In computer science, data validation is the process of ensuring that data have undergone data cleansing to ensure they have data quality, that is, that they are both correct and useful.
Therefore, data validation should start with business process definition and set of business rules within this process.Rules can be collected through the requirements capture exercise.In evaluating the basics of data validation, generalizations can be made regarding the different types of validation, according to the scope, complexity, and purpose of the various validation operations to be carried out.A validation process involves two distinct steps: (a) Validation Check and (b) Post-Check action.The check step uses one or more computational rules (see section below) to determine if the data is valid.
Search for c validating data types:
Similarly i want to check a string which might contain something like 20070518 which is a valid date for us. Thanks, Manish To check how many decimal places you have, perhaps you could simply reverse teh string and take index Of the '.' ?