Title: Getting error message when saving conversation as a variable
Last modified: August 22, 2016

---

# Getting error message when saving conversation as a variable

 *  [safesoundaudio](https://wordpress.org/support/users/safesoundaudio/)
 * (@safesoundaudio)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/getting-error-message-when-saving-conversation-as-a-variable/)
 * I’m using your plug-in to do a currency conversion as a hidden input field within
   a front-end form.
 * The code is
    `<input type="hidden" name="wpcf-feepounds" value="[currency amount
   ="[types field="fee" id="$sell-list"][/types]" from="[wpv-post-author id="$sell-
   list" format="meta" meta="wpcf-seller-default-currency-code"]" to="GBP" show_from
   =false append="" round_append=""]">`
 * It is working but I am getting a visible error message on screen, when the form
   is submitted, as follows;
 * ‘Warning: number_format() expects parameter 1 to be double, string given in /
   home/audiogea/public_html/wp-content/plugins/euro-fxref-currency-converter/eurofxref.
   php on line 108’
 * As a test, even if I simply display a conversion within the form, e.g.
 *     ```
       [currency amount="[types field="price" id="$sell-list"][/types]" from="[wpv-post-author id="$sell-list" format="meta" meta="wpcf-seller-default-currency-code"]" to="[types usermeta="buyer-default-currency-code" user_current="true"][/types]" show_from=false append="" round_append=""]
       ```
   
 * then I still get the same error message when the form is submitted.
 * I’d be grateful for any help to get this error message to disappear.
 * Regards
 * Robert
 * [https://wordpress.org/plugins/euro-fxref-currency-converter/](https://wordpress.org/plugins/euro-fxref-currency-converter/)

The topic ‘Getting error message when saving conversation as a variable’ is closed
to new replies.

 * ![](https://ps.w.org/euro-fxref-currency-converter/assets/icon-128x128.png?rev
   =3314337)
 * [Euro FxRef Currency Converter (by DKZR)](https://wordpress.org/plugins/euro-fxref-currency-converter/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/euro-fxref-currency-converter/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/euro-fxref-currency-converter/)
 * [Active Topics](https://wordpress.org/support/plugin/euro-fxref-currency-converter/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/euro-fxref-currency-converter/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/euro-fxref-currency-converter/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [safesoundaudio](https://wordpress.org/support/users/safesoundaudio/)
 * Last activity: [11 years, 6 months ago](https://wordpress.org/support/topic/getting-error-message-when-saving-conversation-as-a-variable/)
 * Status: not resolved