From 677ce92734454168e563dcebf390ecd2ad346f0c Mon Sep 17 00:00:00 2001 From: wet <1034391973@qq.com> Date: Tue, 23 May 2023 18:03:45 +0800 Subject: [PATCH] 1 --- .../Service/BookingOrder/BookingOrderService.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Myshipping.Application/Service/BookingOrder/BookingOrderService.cs b/Myshipping.Application/Service/BookingOrder/BookingOrderService.cs index 55ba949d..f708f994 100644 --- a/Myshipping.Application/Service/BookingOrder/BookingOrderService.cs +++ b/Myshipping.Application/Service/BookingOrder/BookingOrderService.cs @@ -2713,7 +2713,7 @@ namespace Myshipping.Application if (order.PKGS!=null) { if (order.PKGS.ToString().Split('.').Count() > 1&&Convert.ToInt32(order.PKGS.ToString().Split('.')[1])>0) { - value = string.Format("{0:F2}", order.PKGS); + value = string.Format("{0:F3}", order.PKGS); } else { value = order.PKGS.ToString().Split('.')[0]; @@ -2739,7 +2739,7 @@ namespace Myshipping.Application { if (order.KGS.ToString().Split('.').Count() > 1 && Convert.ToInt32(order.KGS.ToString().Split('.')[1]) > 0) { - value = string.Format("{0:F2}", order.KGS); + value = string.Format("{0:F3}", order.KGS); } else { @@ -2767,7 +2767,7 @@ namespace Myshipping.Application { if (order.CBM.ToString().Split('.').Count() > 1 && Convert.ToInt32(order.CBM.ToString().Split('.')[1]) > 0) { - value = string.Format("{0:F2}", order.CBM); + value = string.Format("{0:F3}", order.CBM); } else {