Hi,

I was wondering if it is possible to use printf style format specifications in 
an ExpandedString? For example to have a fixed width integer value in a file 
name with leading zeros if necessary? A workaround would be a separate 
ScalaTask such as:

val int = Val[Int]
val str = Val[String]
val intToStr = ScalaTask(“”"val str = f”$int%4d” “””) set (inputs += int, 
outputs += (int, str))

Just wondering if I can save this extra task on my end.

Andreas
_______________________________________________
OpenMOLE-users mailing list
[email protected]
http://fedex.iscpif.fr/mailman/listinfo/openmole-users

Reply via email to