<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[How to convert scientific notation to standard?]]></title><description><![CDATA[<p dir="auto">Hello,</p>
<p dir="auto">I have a text file with data like this:</p>
<p dir="auto">*Name: 1<br />
55.0021 1.1E1<br />
103.9542 4.0E-1<br />
…</p>
<p dir="auto">Name: 1<br />
…*</p>
<p dir="auto">I want to convert the numbers in scientific notation into standard decimals. There is no other way for me to export the data. So I need to do it here. Could you help me?</p>
<p dir="auto">Thanks!</p>
]]></description><link>https://community.notepad-plus-plus.org/topic/20187/how-to-convert-scientific-notation-to-standard</link><generator>RSS for Node</generator><lastBuildDate>Wed, 15 Apr 2026 12:41:11 GMT</lastBuildDate><atom:link href="https://community.notepad-plus-plus.org/topic/20187.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 20 Oct 2020 15:32:31 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to How to convert scientific notation to standard? on Mon, 04 Mar 2024 02:11:37 GMT]]></title><description><![CDATA[<p dir="auto">This regex will capture all scientific notation numbers, and can also handle leading + signs and number with leading decimal points:<br />
<code>([+-]?(?:\d+(?:\.\d*)?|\.\d+)(?:[eE][+-]?\d+)?)</code></p>
<p dir="auto">Seriously, everyone should just write that down somewhere so they can look it up in times of need.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/93376</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/93376</guid><dc:creator><![CDATA[Mark Olson]]></dc:creator><pubDate>Mon, 04 Mar 2024 02:11:37 GMT</pubDate></item><item><title><![CDATA[Reply to How to convert scientific notation to standard? on Mon, 04 Mar 2024 02:00:04 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/2489">@Ben-Mcmillan</a><br />
<code>m.group()</code> needs to take an integer as its first and only argument.<br />
For example, <code>m.group(0)</code> returns the full text of the match, and <code>m.group(n)</code> returns the <code>n^th</code> capture group.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/93375</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/93375</guid><dc:creator><![CDATA[Mark Olson]]></dc:creator><pubDate>Mon, 04 Mar 2024 02:00:04 GMT</pubDate></item><item><title><![CDATA[Reply to How to convert scientific notation to standard? on Mon, 04 Mar 2024 01:45:35 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/3841">@PeterJones</a> thanks. If I’m understanding correctly, this should be the final script:</p>
<pre><code>editor.rereplace('\d+?\.\d+?E\[+-]?\d+', lambda m: float(m.group()))
</code></pre>
<p dir="auto">but it doesn’t seem to do anything to my doc. Have I made a mistake?</p>
]]></description><link>https://community.notepad-plus-plus.org/post/93373</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/93373</guid><dc:creator><![CDATA[Ben Mcmillan]]></dc:creator><pubDate>Mon, 04 Mar 2024 01:45:35 GMT</pubDate></item><item><title><![CDATA[Reply to How to convert scientific notation to standard? on Sun, 03 Mar 2024 00:54:59 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/2489">@Ben-Mcmillan</a> ,</p>
<p dir="auto">Instead of <code>-*</code>, which looks for 0 or more minus signs (I personally would have used <code>-?</code>, so it’s 0 or 1), use <code>[+-]?</code> ,  which would be 0 or 1 minus or plus signs.  And then instead of the final <code>\d</code> , use <code>\d+</code> to allow more than one digit in the exponent.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/93351</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/93351</guid><dc:creator><![CDATA[PeterJones]]></dc:creator><pubDate>Sun, 03 Mar 2024 00:54:59 GMT</pubDate></item><item><title><![CDATA[Reply to How to convert scientific notation to standard? on Sun, 03 Mar 2024 00:13:05 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/14479">@Ekopalypse</a><br />
great idea. The scientific notation in my doc is slightly different, It has:</p>
<p dir="auto">1.0000E-001<br />
and<br />
1.0000E+001</p>
<p dir="auto">as examples.<br />
What should the script be please?</p>
]]></description><link>https://community.notepad-plus-plus.org/post/93350</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/93350</guid><dc:creator><![CDATA[Ben Mcmillan]]></dc:creator><pubDate>Sun, 03 Mar 2024 00:13:05 GMT</pubDate></item><item><title><![CDATA[Reply to How to convert scientific notation to standard? on Tue, 20 Oct 2020 16:03:20 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/14479">@Ekopalypse</a> said in <a href="/post/58861">How to convert scientific notation to standard?</a>:</p>
<blockquote>
<p dir="auto">editor.rereplace(‘\d+?.\d+?E-*\d’, lambda m: float(m.group()))</p>
</blockquote>
<p dir="auto">I just installed the plugin and tried the code. It works perectly. Thanks a lot!</p>
]]></description><link>https://community.notepad-plus-plus.org/post/58863</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/58863</guid><dc:creator><![CDATA[sweezy92]]></dc:creator><pubDate>Tue, 20 Oct 2020 16:03:20 GMT</pubDate></item><item><title><![CDATA[Reply to How to convert scientific notation to standard? on Tue, 20 Oct 2020 15:43:46 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/20142">@sweezy92</a></p>
<p dir="auto">depending on your <strong>real</strong> data and that you have python script plugin installed<br />
this might do what you want</p>
<pre><code>editor.rereplace('\d+?\.\d+?E\-*\d', lambda m: float(m.group()))
</code></pre>
]]></description><link>https://community.notepad-plus-plus.org/post/58861</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/58861</guid><dc:creator><![CDATA[Ekopalypse]]></dc:creator><pubDate>Tue, 20 Oct 2020 15:43:46 GMT</pubDate></item></channel></rss>