Multiplying String with Numeric Value

Here is the case:

For Each Row loop:

Assign Activity:

row = “ZKD” + row(My_Numeric_Col).Tostring

But I am trying to multiply 12 with it to get the annual value, such as:

row = “ZKD” + (row(My_Numeric_Col).Tostring * 12)

Hi @Dr_Raza_Abidi_PhD

Please try

row = “ZKD” + cstr((cint(row(My_Numeric_Col).Tostring) * 12))


1 Like

Hi @Dr_Raza_Abidi_PhD

Try out this syntax

row = “ZKD”+(CINT(row(My_Numeric_Col).ToString))*12)

@prasath_S: Many thanks, Issue resolved.

Kind regards,

1 Like

@Robinnavinraj_S : Thanks a lot, Issue resolved by prasath_S.

Kind regards,

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.