An error occurred while attaching module (Dynamicweb.Frontend.Content)

System.OverflowException: Value was either too large or too small for a Decimal.
   at System.Decimal..ctor(Double value)
   at System.Double.System.IConvertible.ToDecimal(IFormatProvider provider)
   at DanskRideForbund.CustomModules.EventModule.EventResultFrontend.FormatResult(Object value, Int32 precision, Boolean forceDecimals) in D:\a\1\s\Application\CustomModules\EventModule\EventResultFrontend.cs:line 1275
   at DanskRideForbund.CustomModules.EventModule.EventResultFrontend.SetEventingTable(EventEntry eventEntry, IEnumerable`1 eventSectionResults, EventHelper helper) in D:\a\1\s\Application\CustomModules\EventModule\EventResultFrontend.cs:line 1083
   at DanskRideForbund.CustomModules.EventModule.EventResultFrontend.ShowResultSectionItem(EventHelper helper, DataArea dataArea) in D:\a\1\s\Application\CustomModules\EventModule\EventResultFrontend.cs:line 159
   at DanskRideForbund.CustomModules.EventModule.EventModuleFrontend.GetContent() in D:\a\1\s\Application\CustomModules\EventModule\EventModuleFrontend.cs:line 80
   at Dynamicweb.Frontend.Content.GetModuleOutput(Paragraph paragraph, PageView pageview)