You are here: PSPad forum > English discussion forum > Re: Ekspert: jednoczesne obliczeniae

Re: Ekspert: jednoczesne obliczeniae

Goto Page: Previous1 2

#11 Re: Ekspert: jednoczesne obliczeniae

Posted by: maki | Date: 2020-04-22 17:28 | IP: IP Logged

It's not that easy!
It's too complicated, it's not even for advanced users, but for experts.
Any tool can only delete decimal numbers, and that's not the point!
How to convert x,xxxxxxxx to x

1,128 = 1
1,49999999 = 1
10,497779 = 10
1,5765 = 2

Edited 3 time(s). Last edit at 2020-04-22 17:31 by maki.

Options: Reply | Quote | Up ^


#12 Re: Ekspert: jednoczesne obliczeniae

Posted by: maki | Date: 2020-04-22 17:40 | IP: IP Logged

Alternatively, I will delete everything after the decimal point using the editor and the regular expression
Regex: [.].+

and how to increase each number by +1

E.g. 11 = 12
E.g. 33 = 34

Last cell csv

Example:
6829,122.6
6830,12.49180328
6831,749
6832,20.69444444
6833,14.14516129

'," (separator)

Edited 3 time(s). Last edit at 2020-04-22 17:42 by maki.

Options: Reply | Quote | Up ^


#13 Re: Ekspert: jednoczesne obliczeniae

Posted by: Vany | Date: 2020-05-11 09:48 | IP: IP Logged

I still can't understand your effort to simulate a table calculator in a programming text editor winking smiley

--
Vany
(PSPad 5.5.1.812 x32, W10h/p x64 en/cs)

Options: Reply | Quote | Up ^


#14 Re: Ekspert: jednoczesne obliczeniae

Posted by: maki | Date: 2020-05-11 11:50 | IP: IP Logged

20 numbers + 1 block for comparison

[
[21 numbers],
[21 numbers],
[21 numbers],
] .map ((e) => e.filter ((v, i, a) => a.indexOf (v)! == i) .join (',')). join ('\ n')

But this is not attributed to the Draw. The result is mixed up: \

1000,10,18,25,30,36,38,41,43,44,45,47,52,53,61,62,63,68,70,71,78,78
1001,12,18,25,30,36,38,41,43,44,45,47,52,53,61,62,63,68,70,71,78,80
1002,12,18,25,31,36,38,41,43,44,45,47,52,53,61,62,63,68,70,71,78,63

Result:
no. 1000,78
no. 1001,EMPTY
no. 1002,63

Edited 3 time(s). Last edit at 2020-05-11 11:53 by maki.

Options: Reply | Quote | Up ^


Goto Page: Previous1 2





Editor PSPad - freeware editor, © 2001 - 2024 Jan Fiala, Hosted by Webhosting TOJEONO.CZ, design by WebDesign PAY & SOFT, code Petr Dvořák, Privacy policy and GDPR