Post

3 followers Follow
0
Avatar

Markdown - replacing null with "-"

Hi,

 

Does anyone know how to a simple way to replace the "null" by "-"  using markdown in a calculation field. For info, the source information is coming from number fields.

 

PILOTE

Please sign in to leave a comment.

2 comments

0
Avatar

Directly behind the closing bracket in the last line simply add:

.replace(/null/g,"")

instead with "" (=  nothing)  you can replace null with whatever string or number you want.

Rainer 

Rainer Grabowski 0 votes