asp.net - Convert System.Web.UI.WebControls.Unit to int in c# -


How can I convert int from an ASP.NET frame to c #? Or reverse?

is one of the unit type, it is a double, but if you want, Casting can cause accuracy loss, but you probably know about it.

Use only to create a unit.


Comments