In this chapter you will get some practice questions to solve. You must solve them using your programming logic. It will help you to understand razor syntax more efficiently.
Qu 1: Write a program to convert following datatypes:
- String “32” into
- Float “12.52” into
- Decimal “123.345” into
You must check
type of value before converting.