A value such as 14.5 is taken as a double by default by C Sharp and which cannot be automatically typecasted in decimal.
So indicate its data type as decimal we append M at its back
for example
decimal variable= 14.5M
So indicate its data type as decimal we append M at its back
for example
decimal variable= 14.5M
Good article
ReplyDeletehttps://wordpress-special-plugin.blogspot.co.id