# Vessel transformation value (academy) not applie (regional setting about decimal separator ?)

**URL:** <https://forum.inductiveautomation.com/t/vessel-transformation-value-academy-not-applie-regional-setting-about-decimal-separator/56451>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [February 23, 2022, 1:57pm UTC](https://forum.inductiveautomation.com/t/vessel-transformation-value-academy-not-applie-regional-setting-about-decimal-separator/56451 "2022-02-23T13:57:17Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Stephane\_Boneff](https://avatars.discourse-cdn.com/v4/letter/s/59ef9b/32.png) [@Stephane\_Boneff](https://forum.inductiveautomation.com/u/Stephane_Boneff)\
**Post date:** [February 23, 2022, 1:57pm UTC](https://forum.inductiveautomation.com/t/vessel-transformation-value-academy-not-applie-regional-setting-about-decimal-separator/56451/1 "2022-02-23T13:57:17Z")

</div>

Hello,

On the course [Adding a Transform - Creating the Overview](https://inductiveuniversity.com/video/bip-adding-a-transform) a transformation is applied to the value to display “nn.nn” (3min40s).  
The transformation Patern ##.## is ok in Configuration tag binding (pic1)

 ![pic1](https://us1.discourse-cdn.com/inductiveautomation/original/3X/e/7/e7fea3d2418e2e7a24720cbd0b4914061cf3b5f4.png)

The transormation is not applied : the decimal are not shown (45 instead of 45.56 by example)  
and there is an warning on the component : “value.value : string found, number expected.”

I think is about regional settings : on my PC (win10), the decimal separator is “,”. I think the return value after transormation has a “,” and become a string instead of a number.

If I use a script transformation, the result is ok (45.56) but the warning is still there (like in the video).

What do you think ?

Thanks

---

<div class="post-metadata">

**Author:** ![jespinmartin1](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/jespinmartin1/32/57175_2.png) [@jespinmartin1](https://forum.inductiveautomation.com/u/jespinmartin1)\
**Post date:** [February 23, 2022, 2:33pm UTC](https://forum.inductiveautomation.com/t/vessel-transformation-value-academy-not-applie-regional-setting-about-decimal-separator/56451/2 "2022-02-23T14:33:18Z")

</div>

![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/a/f/af2a5ca9f696ed953adcd04fd30d54ba56469dd5.png)

![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/f/e/fed48a5af1583372bc6458d86a6f66ce6452aa05.png)

---

<div class="post-metadata">

**Author:** ![Transistor](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/transistor/32/3380_2.png) [@Transistor](https://forum.inductiveautomation.com/u/Transistor)\
**Post date:** [February 23, 2022, 4:23pm UTC](https://forum.inductiveautomation.com/t/vessel-transformation-value-academy-not-applie-regional-setting-about-decimal-separator/56451/3 "2022-02-23T16:23:56Z")

</div>

`#.##` means optional numbers in these positions.  
`0.00` means “must have numbers in these positions”.

```nohighlight
Sample #.## 0.00
 3 3 3.00
 3.7 3.7 3.70
 3.70 3.7 3.70
 3.75 3.75 3.75

```

---

<div class="post-metadata">

**Author:** ![Stephane\_Boneff](https://avatars.discourse-cdn.com/v4/letter/s/59ef9b/32.png) [@Stephane\_Boneff](https://forum.inductiveautomation.com/u/Stephane_Boneff)\
**Post date:** [February 23, 2022, 4:24pm UTC](https://forum.inductiveautomation.com/t/vessel-transformation-value-academy-not-applie-regional-setting-about-decimal-separator/56451/4 "2022-02-23T16:24:42Z")

</div>

Very nice !  
2 transformations to have, at end, a float.

It’s smell like a little bug, no ?

Thanks !

---

<div class="post-metadata">

**Author:** ![jespinmartin1](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/jespinmartin1/32/57175_2.png) [@jespinmartin1](https://forum.inductiveautomation.com/u/jespinmartin1)\
**Post date:** [February 24, 2022, 3:01am UTC](https://forum.inductiveautomation.com/t/vessel-transformation-value-academy-not-applie-regional-setting-about-decimal-separator/56451/5 "2022-02-24T03:01:24Z")

</div>

It’s not a bug.  
The format transform in pattern mode is meant to return a formatted string, but the vessel prop expects a number
