0
info@ericverschoor.nl created
- ABP Framework version: v7.0.1
- UI type: Blazor
- DB provider: EF Core
In ABP suite, when generating code for a float property with a default value, the default value is incorrect. A default float value must be suffixed with an 'f'.
not tested, but double and decimal should also be suffixed https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/builtin-types/floating-point-numeric-types#real-literals
note: i'm not able to enter a char in the default value input. It must be a number.
(please refund this ticked)
1 Answer(s)
-
0
I've created an internal issue. Thank you for reporting.