diff --git a/ihcsdk/ihcclient.py b/ihcsdk/ihcclient.py index 033a94f..db4cf9e 100644 --- a/ihcsdk/ihcclient.py +++ b/ihcsdk/ihcclient.py @@ -355,8 +355,8 @@ def __get_value(resource_value): "WSIntegerValue": lambda v: int( v.find("./ns2:integer", IHCSoapClient.ihcns).text ), - "WSFloatingPointValue": lambda v: float( - v.find("./ns2:floatingPointValue", IHCSoapClient.ihcns).text + "WSFloatingPointValue": lambda v: round( + float( v.find("./ns2:floatingPointValue", IHCSoapClient.ihcns).text),2 ), "WSEnumValue": lambda v: v.find("./ns2:enumName", IHCSoapClient.ihcns).text, "WSTimerValue": lambda v: int( diff --git a/setup.py b/setup.py index 2a58e04..74b534d 100644 --- a/setup.py +++ b/setup.py @@ -5,7 +5,7 @@ setup( name="ihcsdk", - version="2.8.4", + version="2.8.5", description="IHC Python SDK", long_description=( "SDK for connection to the LK IHC Controller. "