Skip to main content
Level 2
11月 16, 2021 8:44 下午 UTC
已解決

In Fusion 2.0, how do I convert a number to text?

No text available
此主題已關閉回覆。

7 則回覆

skyehansen
Adobe Champion and Community Advisor
11月 17, 2021 6:08 下午 UTC

is it the same as it is for a calculation in workfront? (https://one.workfront.com/s/document-item?bundleId=the-new-workfront-experience&topicId=Content%2FReports_and_Dashboards%2FReports%2FCalc_Cstm_Data-Reports%2Fcalculated-data-expressions.html&_LANG=enus ) -- as in, can you do anything with this? I checked the functions in fusion and couldn't find anything there. You might submit a ticket and see if that was an oversight on workfront's part.

翻譯
JohnGr3作者
Level 2
11月 17, 2021 8:14 下午 UTC

If if is, it's not obvious. I tried (string({{3.NewItemID}}) but that didn't use it as a function, it just set the variable to the literal "string({{3.NewItemID}})"

翻譯
skyehansen
Adobe Champion and Community Advisor
11月 17, 2021 8:20 下午 UTC

you might submit a ticket then. Seems weird that they would have a formatNumber but no formatString function.

翻譯
Doug_Den_Hoed_AtAppStore
Community Advisor
Community Advisor
11月 17, 2021 8:30 下午 UTC

Hi John,

Untested, but one common approach is to "coerce" the data type by concatenating it with an empty string (e.g. CONCAT(myNumber,""))

Regards,

Doug

翻譯
Learn more at www.atappstore.com, email doug.denhoed@atappstore.com, or tag me here @Doug_Den_Hoed_AtAppStore.
JohnGr3作者
Level 2
11月 17, 2021 10:25 下午 UTC

Thanks, Doug. That was going to be my Plan B.

翻譯