title: Stripe payment in Flutter doesnt recognize decimal value
body: <p>I have incorporate Stripe payment into my app
  even the <code>totalAmount</code> printing return a decimal value &quot; 9.5&quot;, into the Stripe page I get 9.00 as value without decimal.</p>
  <p>this is my code for calling Stripe:</p>
  <pre><code>double totalAmount = widget.payment;
      return AlertDialog(
        content: Column(
          mainAxisSize: MainAxisSize.min,
          children: [
            SizedBox(
              height: 15,
            ),
            //Here the function to pay by Card
            RaisedButton(
              elevation: 15,
              color: Colors.orange,
              onPressed: () async {
                setState(() {
                  spin = true;
                });
                print(totalAmount.toStringAsFixed(3));
                final sessionId = await http.post(
                    'https://us-central1-vibeland-50e11.cloudfunctions.net/create_checkout_session',
                    body: jsonEncode(&lt;String, String&gt;{
                      'price': totalAmount.toString() ?? '10'
                    }));
                var sessID = jsonDecode(sessionId.body)['sessionId'];
                if (sessID != null) {
                  Navigator.push(
                    context,
                    MaterialPageRoute(
                      builder: (context) =&gt; PaymentScreenWebView(
                          snapshotUser: widget.snapshotUser,
                          payment: widget.payment,
                          snapshot: widget.snapshot,
                          value: widget.value,
                          totalValue: widget.totalValue,
                          sessionId: jsonDecode(sessionId.body)['sessionId']),
                    ),
                  );
                }
              },
  </code></pre>
  <p>any Input?</p>