Yes. You can define a User Defined Format as you showed, apply it to the variable, and then make a…