Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

decimal in .asp.net core

using System.ComponentModel.DataAnnotations.Schema;

class Pago {

	[Display(Name = "Monto")]
	[Column(TypeName = "decimal(18, 2)")]
	public decimal monto { get; set; }

}
Source by forums.asp.net #
 
PREVIOUS NEXT
Tagged: #decimal #core
ADD COMMENT
Topic
Name
4+1 =