Description

In Editor details panels for a float value, when entering a decimal of 18 numbers results in incorrect truncation.

Steps to Reproduce
  1. Open Unreal Engine Version 4.21, Create a new blank blueprint project.
  2. In the editor, drag a piece of geometry to the level (Cube.)
  3. Open it's properties in the details window and find a float property. (Transform)
  4. Enter 0.333333333333333333 (18 decimal places). Note it truncates to 0.333333 as expected.
  5. Now enter 0.3333333333333333333 (19 decimal places).

Result: The value gets truncated to some weird large number ("23690.277344")

Expected:The value should get truncated to 0.333333

Have Comments or More Details?

There's no existing public thread on this issue, so head over toAnswerHub just mention UE-67864 in the post.

2
Login to Vote

Fixed
ComponentTools
Affects Versions4.204.214.22
Target Fix4.22
Fix Commit4687394
Main Commit4705151
Release Commit4862694
CreatedDec 24, 2018
ResolvedJan 8, 2019
UpdatedFeb 12, 2019