Net class values wrongly passed from schematic to pcb

Description

When creating a net class from within the schematic editor and assigning a value (e.g. clearance), the value is wrong in the PCB Editor. The value is shifted by 2 decimal points. grafik

grafik

Steps to reproduce

  1. Create new empty project.
  2. Open Schematic Editor.
  3. In Schematic Setup->_Project_->_Net Classes_ create new net class "test". Enable additional columns in the table header (right-click table head), e.g. "clearance". Set the clearance e.g. to 0.15mm.
  4. Switch to the PCB Editor.
  5. Take a look at Board Setup->_Design Rules_->_Net Classes_. The clearance value for the "test" net class is wrong.

KiCad Version

Application: KiCad

Version: 6.0.5-a6ca702e91~116~ubuntu20.04.1, release build

Libraries:
	wxWidgets 3.0.4
	libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3

Platform: Linux 5.13.0-41-generic x86_64, 64 bit, Little endian, wxGTK, plasma, x11

Build Info:
	Date: May  4 2022 07:55:51
	wxWidgets: 3.0.4 (wchar_t,wx containers,compatible with 2.8) GTK+ 3.24
	Boost: 1.71.0
	OCC: 7.5.2
	Curl: 7.83.0
	ngspice: 36
	Compiler: GCC 9.4.0 with C++ ABI 1013

Build settings:
	KICAD_USE_OCC=ON
	KICAD_SPICE=ON