mirror of
https://github.com/SyncrowIOT/web.git
synced 2025-07-10 07:07:19 +00:00
Fix value parsing in CpsDialogSliderSelector to ensure two decimal precision
This commit is contained in:
@ -56,7 +56,7 @@ class CpsDialogSliderSelector extends StatelessWidget {
|
|||||||
entityId: device?.uuid ?? '',
|
entityId: device?.uuid ?? '',
|
||||||
functionCode: selectedFunction,
|
functionCode: selectedFunction,
|
||||||
operationName: operationName,
|
operationName: operationName,
|
||||||
value: value,
|
value: double.parse(value.toStringAsFixed(2)),
|
||||||
condition: selectedFunctionData.condition,
|
condition: selectedFunctionData.condition,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
Reference in New Issue
Block a user