How to remove the trailing ` in StringForm[“Mean `1`”, 2.2]?How to remove accents from text?Trouble with ToString and StringFormKeep leading/trailing zeroes (like Defer except with numbers) in a given numberInsert or Remove randomlyStringForm print fractions readable by ToExpressionSpecifying precision of a number in StringForm[]Remove the blank lines in a text fileHow do I remove parts of this data?Remove expression with matched braces from stringStrip of all tags “Defer[…]” from a string expression

Is the Indo-European language family made up?

Should I disclose a colleague's illness (that I should not know) when others badmouth him

Using credit/debit card details vs swiping a card in a payment (credit card) terminal

What are the real benefits of using Salesforce DX?

What are these arcade games in Ghostbusters 1984?

Is it possible to play as a necromancer skeleton?

Count Even Digits In Number

Employer demanding to see degree after poor code review

I unknowingly submitted plagarised work

Where have Brexit voters gone?

Why doesn't the Earth accelerate towards the Moon?

What will be the real voltage along the line with a voltage source and a capacitor?

What does this symbol on the box of power supply mean?

Is real public IP Address hidden when using a system wide proxy in Windows 10?

Installed Electric Tankless Water Heater - Internet loss when active

How to use " shadow " in pstricks?

Why is this Simple Puzzle impossible to solve?

Is the Starlink array really visible from Earth?

Does the unit of measure matter when you are solving for the diameter of a circumference?

I think I may have violated academic integrity last year - what should I do?

Why aren't space telescopes put in GEO?

Looking for a soft substance that doesn't dissolve underwater

The art of clickbait captions

pic versus macro in TikZ



How to remove the trailing ` in StringForm[“Mean `1`”, 2.2]?


How to remove accents from text?Trouble with ToString and StringFormKeep leading/trailing zeroes (like Defer except with numbers) in a given numberInsert or Remove randomlyStringForm print fractions readable by ToExpressionSpecifying precision of a number in StringForm[]Remove the blank lines in a text fileHow do I remove parts of this data?Remove expression with matched braces from stringStrip of all tags “Defer[…]” from a string expression













2












$begingroup$


How to remove the trailing ` in the following?



StringForm["Mean `1`", 2.2]


produces



Mean 2.2`









share|improve this question









$endgroup$
















    2












    $begingroup$


    How to remove the trailing ` in the following?



    StringForm["Mean `1`", 2.2]


    produces



    Mean 2.2`









    share|improve this question









    $endgroup$














      2












      2








      2


      1



      $begingroup$


      How to remove the trailing ` in the following?



      StringForm["Mean `1`", 2.2]


      produces



      Mean 2.2`









      share|improve this question









      $endgroup$




      How to remove the trailing ` in the following?



      StringForm["Mean `1`", 2.2]


      produces



      Mean 2.2`






      string-manipulation






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked 8 hours ago









      Artificial Odorless ArmpitArtificial Odorless Armpit

      217111




      217111




















          1 Answer
          1






          active

          oldest

          votes


















          4












          $begingroup$

          The ` you're seeing is the NumberMarks that Mathematica uses to print real numbers in InputForm and FullForm. You can suppress it with one of the following methods:



          StringForm["Mean `1`", StandardForm[2.2]]
          StringForm["Mean `1`", Style[2.2, NumberMarks->False]]



          Mean 2.2



          Mean 2.2




          If you're not married to StringForm, you could also use Row:



          Row["Mean ", 2.2]



          Mean 2.2




          or StringTemplate:



          StringTemplate["Mean `a`"] @ <|"a"->2.2|>



          "Mean 2.2"







          share|improve this answer









          $endgroup$













            Your Answer








            StackExchange.ready(function()
            var channelOptions =
            tags: "".split(" "),
            id: "387"
            ;
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function()
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled)
            StackExchange.using("snippets", function()
            createEditor();
            );

            else
            createEditor();

            );

            function createEditor()
            StackExchange.prepareEditor(
            heartbeatType: 'answer',
            autoActivateHeartbeat: false,
            convertImagesToLinks: false,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: null,
            bindNavPrevention: true,
            postfix: "",
            imageUploader:
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            ,
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            );



            );













            draft saved

            draft discarded


















            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmathematica.stackexchange.com%2fquestions%2f199088%2fhow-to-remove-the-trailing-in-stringformmean-1-2-2%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown

























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            4












            $begingroup$

            The ` you're seeing is the NumberMarks that Mathematica uses to print real numbers in InputForm and FullForm. You can suppress it with one of the following methods:



            StringForm["Mean `1`", StandardForm[2.2]]
            StringForm["Mean `1`", Style[2.2, NumberMarks->False]]



            Mean 2.2



            Mean 2.2




            If you're not married to StringForm, you could also use Row:



            Row["Mean ", 2.2]



            Mean 2.2




            or StringTemplate:



            StringTemplate["Mean `a`"] @ <|"a"->2.2|>



            "Mean 2.2"







            share|improve this answer









            $endgroup$

















              4












              $begingroup$

              The ` you're seeing is the NumberMarks that Mathematica uses to print real numbers in InputForm and FullForm. You can suppress it with one of the following methods:



              StringForm["Mean `1`", StandardForm[2.2]]
              StringForm["Mean `1`", Style[2.2, NumberMarks->False]]



              Mean 2.2



              Mean 2.2




              If you're not married to StringForm, you could also use Row:



              Row["Mean ", 2.2]



              Mean 2.2




              or StringTemplate:



              StringTemplate["Mean `a`"] @ <|"a"->2.2|>



              "Mean 2.2"







              share|improve this answer









              $endgroup$















                4












                4








                4





                $begingroup$

                The ` you're seeing is the NumberMarks that Mathematica uses to print real numbers in InputForm and FullForm. You can suppress it with one of the following methods:



                StringForm["Mean `1`", StandardForm[2.2]]
                StringForm["Mean `1`", Style[2.2, NumberMarks->False]]



                Mean 2.2



                Mean 2.2




                If you're not married to StringForm, you could also use Row:



                Row["Mean ", 2.2]



                Mean 2.2




                or StringTemplate:



                StringTemplate["Mean `a`"] @ <|"a"->2.2|>



                "Mean 2.2"







                share|improve this answer









                $endgroup$



                The ` you're seeing is the NumberMarks that Mathematica uses to print real numbers in InputForm and FullForm. You can suppress it with one of the following methods:



                StringForm["Mean `1`", StandardForm[2.2]]
                StringForm["Mean `1`", Style[2.2, NumberMarks->False]]



                Mean 2.2



                Mean 2.2




                If you're not married to StringForm, you could also use Row:



                Row["Mean ", 2.2]



                Mean 2.2




                or StringTemplate:



                StringTemplate["Mean `a`"] @ <|"a"->2.2|>



                "Mean 2.2"








                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered 8 hours ago









                Carl WollCarl Woll

                80.7k3104208




                80.7k3104208



























                    draft saved

                    draft discarded
















































                    Thanks for contributing an answer to Mathematica Stack Exchange!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid


                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.

                    Use MathJax to format equations. MathJax reference.


                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function ()
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmathematica.stackexchange.com%2fquestions%2f199088%2fhow-to-remove-the-trailing-in-stringformmean-1-2-2%23new-answer', 'question_page');

                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    Invision Community Contents History See also References External links Navigation menuProprietaryinvisioncommunity.comIPS Community ForumsIPS Community Forumsthis blog entry"License Changes, IP.Board 3.4, and the Future""Interview -- Matt Mecham of Ibforums""CEO Invision Power Board, Matt Mecham Is a Liar, Thief!"IPB License Explanation 1.3, 1.3.1, 2.0, and 2.1ArchivedSecurity Fixes, Updates And Enhancements For IPB 1.3.1Archived"New Demo Accounts - Invision Power Services"the original"New Default Skin"the original"Invision Power Board 3.0.0 and Applications Released"the original"Archived copy"the original"Perpetual licenses being done away with""Release Notes - Invision Power Services""Introducing: IPS Community Suite 4!"Invision Community Release Notes

                    Canceling a color specificationRandomly assigning color to Graphics3D objects?Default color for Filling in Mathematica 9Coloring specific elements of sets with a prime modified order in an array plotHow to pick a color differing significantly from the colors already in a given color list?Detection of the text colorColor numbers based on their valueCan color schemes for use with ColorData include opacity specification?My dynamic color schemes

                    In Tikz, how to set a node's label alignment to the left?Rotate a node but not its content: the case of the ellipse decorationHow to define the default vertical distance between nodes?Numerical conditional within tikz keys?TikZ/ERD: node (=Entity) label on the insideLine up nested tikz enviroments or how to get rid of themVertically align a tikzpicture and forestDrawing tikz line in the margin for multiple pagesLongtable, contained tikz, padding, custom columns, and an alignment issueTikZ: define arrow starting position based on style and format node labelAlign node name in Tikz