Thread Starter
jcmaad
(@jcmaad)
Thanks, but I don’t know how to write php functions. I will have to wait for developers to reply.
Another option would be to open your CSV file in Google sheets, and make sure the format of the columns is set to “number”.
That may do the trick.
Thread Starter
jcmaad
(@jcmaad)
There is no formatting in CSV though.
Thread Starter
jcmaad
(@jcmaad)
can someone from the dev team respond?
Hi @jcmaad
Instead of {rating_count[1]}
as the “value” put [intval({rating_count[1]})]
and the same for other affected fields.
This will use the PHP function feature to call intval which “gets the integer value of a variable”.
Hey @jcmaad,
Unfortunately, it’s not possible to type cast the value to an integer using our “Serialized” field option. Since this is a pro feature, please contact us at http://www.wpallimport.com/support/ about this so that we can advise on possible workarounds.
Thread Starter
jcmaad
(@jcmaad)
@aakash8 do you have any other suggestions?
@wpallimport I think it’s a pretty basic feature that should be working without any workaround.
@jcmaad thanks for the feedback! It’s definitely something we’ll consider if there are a lot of requests for it.