From: Anthony Geay Date: Thu, 21 Mar 2024 13:13:01 +0000 (+0100) Subject: Deal with float input in MemRepr X-Git-Tag: emc2p_2.0.0-b2^2 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=74ae0daa1c23f96412c5c6b00cbae7dc2c253db1;p=modules%2Fkernel.git Deal with float input in MemRepr --- diff --git a/src/Container/SALOME_ContainerHelper.py b/src/Container/SALOME_ContainerHelper.py index ab42a5f01..70bd9d6f6 100644 --- a/src/Container/SALOME_ContainerHelper.py +++ b/src/Container/SALOME_ContainerHelper.py @@ -34,7 +34,7 @@ class ScriptExecInfo: @classmethod def MemRepr(cls,memInByte): - m = memInByte + m = int( memInByte ) UNITS=["B","kB","MB","GB"] remain = 0 oss = ""